mirror of
https://github.com/jellyfin/TMDbLib.git
synced 2024-11-26 23:30:23 +00:00
add trending all test
This commit is contained in:
parent
92a69c6bd7
commit
57ad117241
@ -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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user