TMDbLib/TMDbLibTests/ClientWatchProvidersTests.cs
Michael Bisbjerg 5b82edd2ec Cleanup
2022-04-27 18:31:11 +02:00

34 lines
936 B
C#

using System.Threading.Tasks;
using TMDbLib.Objects.General;
using TMDbLibTests.JsonHelpers;
using Xunit;
namespace TMDbLibTests
{
public class ClientWatchProvidersTests : TestBase
{
[Fact]
public async Task TestGetRegions()
{
ResultContainer<WatchProviderRegion> watchProviderRegions = await TMDbClient.GetWatchProviderRegionsAsync();
await Verify(watchProviderRegions);
}
[Fact]
public async Task TestGetMovieWatchProviders()
{
ResultContainer<WatchProviderItem> watchProviders = await TMDbClient.GetMovieWatchProvidersAsync();
await Verify(watchProviders);
}
[Fact]
public async Task TestGetTvWatchProviders()
{
ResultContainer<WatchProviderItem> watchProviders = await TMDbClient.GetTvWatchProvidersAsync();
await Verify(watchProviders);
}
}
}