mirror of
https://github.com/jellyfin/TMDbLib.git
synced 2024-11-23 05:40:12 +00:00
Update to latest master
This commit is contained in:
parent
87511e070c
commit
f70c376c38
@ -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]
|
||||
|
@ -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
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue
Block a user