Skip to content

Commit

Permalink
Specify test
Browse files Browse the repository at this point in the history
  • Loading branch information
LordMike committed Mar 12, 2020
1 parent 1677d1b commit 80e5370
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions TMDbLibTests/ClientTvEpisodeTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -264,12 +264,14 @@ public void TestTvEpisodeMissing()
[Fact]
public void TestTvEpisodesScreenedTheatrically()
{
var results = Config.Client.GetTvEpisodesScreenedTheatricallyAsync(IdHelper.GameOfThrones).Result;
ResultContainer<TvEpisodeInfo> results = Config.Client.GetTvEpisodesScreenedTheatricallyAsync(IdHelper.GameOfThrones).Result;

Assert.Equal(IdHelper.GameOfThrones, results.Id);
Assert.NotNull(results);
Assert.NotNull(results.Results);
Assert.True(results.Results.Count > 0);

TvEpisodeInfo single = results.Results.FirstOrDefault(s => s.Id == 63103);
Assert.NotNull(single);
Assert.Equal(4, single.SeasonNumber);
Assert.Equal(10, single.EpisodeNumber);
}
}
}

0 comments on commit 80e5370

Please sign in to comment.