add trending all test

This commit is contained in:
Márk Ángyán 2023-01-11 19:40:44 +01:00
parent 92a69c6bd7
commit 57ad117241

View File

@ -29,5 +29,12 @@ namespace TMDbLibTests
SearchContainer<SearchPerson> people = await TMDbClient.GetTrendingPeopleAsync(TimeWindow.Week); SearchContainer<SearchPerson> people = await TMDbClient.GetTrendingPeopleAsync(TimeWindow.Week);
Assert.NotEmpty(people.Results); Assert.NotEmpty(people.Results);
} }
[Fact]
public async Task TestTrendingAllAsync()
{
SearchContainer<SearchBase> all = await TMDbClient.GetTrendingAllAsync(TimeWindow.Week);
Assert.NotEmpty(all.Results);
}
} }
} }