correct test, use imdbid instead of normal if in the imdb test case

This commit is contained in:
Naliath 2017-05-20 09:08:39 +02:00
parent 1cf98c8f1b
commit 0d096a1062
2 changed files with 5 additions and 1 deletions

View File

@ -92,7 +92,7 @@ namespace TMDbLibTests
Config.Client.MovieSetRatingAsync(IdHelper.TheDarkKnightRises, 5).Sync();
MovieMethods combinedEnum = tmpMethods.Keys.Aggregate((methods, movieMethods) => methods | movieMethods);
Movie item = Config.Client.GetMovieAsync(IdHelper.TheDarkKnightRises, combinedEnum).Result;
Movie item = Config.Client.GetMovieAsync(IdHelper.TheDarkKnightRisesImdb, combinedEnum).Result;
TestMethodsHelper.TestAllNotNull(tmpMethods, item);
}

View File

@ -21,4 +21,8 @@
<PackageReference Include="xunit" Version="2.2.0" />
</ItemGroup>
<ItemGroup>
<Service Include="{82a7f48d-3b50-4b1e-b82e-3ada8210c358}" />
</ItemGroup>
</Project>