|
|
|
@ -23,13 +23,10 @@ namespace NzbDrone.Core.Test.Providers
|
|
|
|
|
{
|
|
|
|
|
var ids = Subject.GetXemSeriesIds();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ids.Should().NotBeEmpty();
|
|
|
|
|
ids.Should().Contain(i => i == 73141);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[Test]
|
|
|
|
|
[Ignore("XEM's data is not clean")]
|
|
|
|
|
public void get_mapping_for_all_series()
|
|
|
|
@ -45,7 +42,7 @@ namespace NzbDrone.Core.Test.Providers
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
[TestCase(12345, Description = "invalid id")]
|
|
|
|
|
[TestCase(267440, Description = "no single connection")]
|
|
|
|
|
[TestCase(279042, Description = "no single connection")]
|
|
|
|
|
public void should_return_empty_when_known_error(int id)
|
|
|
|
|
{
|
|
|
|
|
Subject.GetSceneTvdbMappings(id).Should().BeEmpty();
|
|
|
|
@ -62,7 +59,6 @@ namespace NzbDrone.Core.Test.Providers
|
|
|
|
|
result.Should().OnlyContain(c => c.Tvdb != null);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[TestCase(78916)]
|
|
|
|
|
public void should_filter_out_episodes_without_scene_mapping(int seriesId)
|
|
|
|
|
{
|
|
|
|
|