Removed bad file from commit
This commit is contained in:
parent
2746556ae2
commit
79cfa3a5f6
|
@ -218,39 +218,5 @@ namespace NzbDrone.Core.Test.ParserTests.ParsingServiceTests
|
||||||
Mocker.GetMock<ISeriesService>()
|
Mocker.GetMock<ISeriesService>()
|
||||||
.Verify(v => v.FindByTitle(It.IsAny<string>()), Times.Never());
|
.Verify(v => v.FindByTitle(It.IsAny<string>()), Times.Never());
|
||||||
}
|
}
|
||||||
|
|
||||||
[Test]
|
|
||||||
public void should_handle_anime_underrange()
|
|
||||||
{
|
|
||||||
var title = "[DroneRaws] Phantom - The Final Countdown - 04 [1080p].mkv";
|
|
||||||
|
|
||||||
var parsedEpisodeInfo = Parser.Parser.ParseTitle(title);
|
|
||||||
|
|
||||||
Mocker.GetMock<ISceneMappingService>()
|
|
||||||
.Setup(s => s.FindSceneMapping(It.IsAny<string>(), It.IsAny<string>(), It.IsAny<int>()))
|
|
||||||
.Returns(new SceneMapping
|
|
||||||
{
|
|
||||||
Title = "Phantom: The Final Countdown",
|
|
||||||
ParseTerm = "phantomthefinalcountdown",
|
|
||||||
SceneSeasonNumber = 4,
|
|
||||||
SeasonNumber = -1,
|
|
||||||
TvdbId = 100
|
|
||||||
});
|
|
||||||
|
|
||||||
Mocker.GetMock<ISceneMappingService>()
|
|
||||||
.Setup(s => s.GetSceneSeasonNumber(It.IsAny<string>(), It.IsAny<string>()))
|
|
||||||
.Returns(4);
|
|
||||||
|
|
||||||
Mocker.GetMock<ISeriesService>()
|
|
||||||
.Setup(s => s.FindByTvdbId(It.IsAny<int>()))
|
|
||||||
.Returns(new Series
|
|
||||||
{
|
|
||||||
Id = 1,
|
|
||||||
TvdbId = 100,
|
|
||||||
Title = "Phantom"
|
|
||||||
});
|
|
||||||
|
|
||||||
var remoteEpisode = Subject.Map(parsedEpisodeInfo, 0, 0, null);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue