Skip to content

Commit

Permalink
Add missing prop to Person
Browse files Browse the repository at this point in the history
Fixes #322
  • Loading branch information
LordMike committed Apr 5, 2021
1 parent 2cd0a07 commit 00a98d6
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions TMDbLib/Objects/People/Person.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ public class Person
[JsonProperty("popularity")]
public double Popularity { get; set; }

[JsonProperty("known_for_department")]
public string KnownForDepartment { get; set; }

[JsonProperty("profile_path")]
public string ProfilePath { get; set; }

Expand Down
2 changes: 1 addition & 1 deletion TMDbLibTests/JsonHelpers/TestBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ protected TestBase()
{
VerifySettings = new VerifySettings();
//VerifySettings.UseExtension("json");
VerifySettings.AutoVerify();
//VerifySettings.AutoVerify();

VerifySettings.UseDirectory("..\\Verification");

Expand Down
2 changes: 1 addition & 1 deletion TMDbLibTests/TMDbLibTests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</PropertyGroup>

<ItemGroup>
<None Remove="JsonHelpers\*.verified.txt" />
<None Remove="Verification\*.verified.txt" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@
imdb_id: nm0000246,
name: Bruce Willis,
place_of_birth: Idar-Oberstein, Germany,
known_for_department: Acting,
profile_path: <non-empty>
}
Original file line number Diff line number Diff line change
Expand Up @@ -1443,6 +1443,7 @@ Description above from the Wikipedia article Frank Sinatra, licensed under CC-BY
},
name: Frank Sinatra,
place_of_birth: Hoboken, New Jersey, USA,
known_for_department: Acting,
profile_path: <non-empty>,
tagged_images: {
page: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@
imdb_id: nm0000246,
name: Bruce Willis,
place_of_birth: Idar-Oberstein, Germany,
known_for_department: Acting,
profile_path: <non-empty>
}

0 comments on commit 00a98d6

Please sign in to comment.