Removed bad file from commit

This commit is contained in:
Taloth Saldono 2021-03-06 21:23:30 +01:00
parent 2746556ae2
commit 79cfa3a5f6
1 changed files with 0 additions and 34 deletions

View File

@ -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);
}
} }
} }