mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 21:43:33 -07:00
cleaned up integration test project.
This commit is contained in:
parent
d50f23da1c
commit
9cabe7cf90
16 changed files with 270 additions and 161 deletions
33
NzbDrone.Integration.Test/SeriesTest.cs
Normal file
33
NzbDrone.Integration.Test/SeriesTest.cs
Normal file
|
@ -0,0 +1,33 @@
|
|||
using FluentAssertions;
|
||||
using NUnit.Framework;
|
||||
using NzbDrone.Api.Series;
|
||||
|
||||
namespace NzbDrone.Integration.Test
|
||||
{
|
||||
[TestFixture]
|
||||
public class SeriesTest : SmokeTestBase
|
||||
{
|
||||
[Test]
|
||||
public void should_have_no_series_on_start_application()
|
||||
{
|
||||
Series.GetAll().Should().BeEmpty();
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void series_lookup_on_trakt()
|
||||
{
|
||||
var series = Series.Lookup("archer");
|
||||
|
||||
series.Should().NotBeEmpty();
|
||||
series.Should().Contain(c => c.Title == "Archer (2009)");
|
||||
}
|
||||
|
||||
[Test]
|
||||
[Ignore]
|
||||
public void add_series_without_required_fields_should_return_400()
|
||||
{
|
||||
Series.Post(new SeriesResource());
|
||||
}
|
||||
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue