Update to latest master

This commit is contained in:
Michael Bisbjerg 2021-03-27 18:08:05 +01:00
parent 87511e070c
commit f70c376c38
2 changed files with 23 additions and 5 deletions

View File

@ -179,13 +179,11 @@ namespace TMDbLibTests
}
[Fact]
public void TestTvShowGetTvShowWithEpisodeGroups()
public async Task TestTvShowGetTvShowWithEpisodeGroups()
{
IgnoreMissingCSharp("production_countries / production_countries", "spoken_languages[array].english_name / english_name");
IgnoreMissingJson(" / account_states", " / alternative_titles", " / changes", " / content_ratings", " / credits", " / external_ids", " / genre_ids", " / images", " / keywords", " / recommendations", " / reviews", " / similar", " / translations", " / videos", " / watch/providers", "episode_groups / id", "episode_groups.results[array] / groups", "last_episode_to_air / show_id");
TvShow resp = await TMDbClient.GetTvShowAsync(IdHelper.Seinfeld, TvShowMethods.EpisodeGroups);
TvShow resp = Config.Client.GetTvShowAsync(IdHelper.Seinfeld, extraMethods: TvShowMethods.EpisodeGroups).Result;
Assert.True(resp.EpisodeGroups.Results.Count > 0);
await Verify(resp.EpisodeGroups);
}
[Fact]

View File

@ -0,0 +1,20 @@
{
results: [
{
id: 5ad27f53c3a3683eed018672,
name: Production Order,
type: Production,
description: ,
episode_count: 180,
group_count: 9
},
{
id: 5fdcb08b9f51af003d5ae2e8,
name: DVD Order,
type: DVD,
description: DVD release episode order,
episode_count: 180,
group_count: 9
}
]
}