mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-27 23:06:29 -04:00
StyleCop
This commit is contained in:
@@ -64,6 +64,7 @@ namespace NzbDrone.Core.Test.MetadataSource.SkyHook
|
||||
series.Network.Should().NotBeNullOrWhiteSpace();
|
||||
series.Runtime.Should().BeGreaterThan(0);
|
||||
series.TitleSlug.Should().NotBeNullOrWhiteSpace();
|
||||
|
||||
//series.TvRageId.Should().BeGreaterThan(0);
|
||||
series.TvdbId.Should().BeGreaterThan(0);
|
||||
}
|
||||
|
||||
@@ -26,6 +26,7 @@ namespace NzbDrone.Core.Test.MetadataSource.SkyHook
|
||||
[TestCase("Mr. D", "Mr. D")]
|
||||
[TestCase("Rob & Big", "Rob & Big")]
|
||||
[TestCase("M*A*S*H", "M*A*S*H")]
|
||||
|
||||
//[TestCase("imdb:tt0436992", "Doctor Who (2005)")]
|
||||
[TestCase("tvdb:78804", "Doctor Who (2005)")]
|
||||
[TestCase("tvdbid:78804", "Doctor Who (2005)")]
|
||||
@@ -64,14 +65,13 @@ namespace NzbDrone.Core.Test.MetadataSource.SkyHook
|
||||
{
|
||||
TvdbId = tvdbId
|
||||
};
|
||||
|
||||
|
||||
Mocker.GetMock<ISeriesService>().Setup(c => c.FindByTvdbId(tvdbId)).Returns(existingSeries);
|
||||
|
||||
var result = Subject.SearchForNewSeries("tvdbid: " + tvdbId);
|
||||
|
||||
result.Should().Contain(existingSeries);
|
||||
result.Should().ContainSingle(c => c.TvdbId == tvdbId);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user