mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-14 11:23:42 +02:00
Removed bad file from commit
This commit is contained in:
parent
2746556ae2
commit
79cfa3a5f6
@ -218,39 +218,5 @@ public void should_use_tvrageid_match_from_search_criteria_when_title_match_fail
|
||||
Mocker.GetMock<ISeriesService>()
|
||||
.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
Block a user