mirror of https://github.com/LordMike/TMDbLib.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
489 B
20 lines
489 B
using Xunit;
|
|
using TMDbLib.Objects.TvShows;
|
|
using TMDbLibTests.Helpers;
|
|
using TMDbLibTests.JsonHelpers;
|
|
|
|
namespace TMDbLibTests
|
|
{
|
|
public class ClientNetworkTests : TestBase
|
|
{
|
|
[Fact]
|
|
public void TestNetworkGetById()
|
|
{
|
|
Network network = Config.Client.GetNetworkAsync(IdHelper.Hbo).Result;
|
|
|
|
Assert.NotNull(network);
|
|
Assert.Equal("HBO", network.Name);
|
|
Assert.Equal(IdHelper.Hbo, network.Id);
|
|
}
|
|
}
|
|
}
|