From 79cfa3a5f613671f2842d8fde1bcc8484cc5ce67 Mon Sep 17 00:00:00 2001 From: Taloth Saldono Date: Sat, 6 Mar 2021 21:23:30 +0100 Subject: [PATCH] Removed bad file from commit --- .../ParsingServiceTests/MapFixture.cs | 34 ------------------- 1 file changed, 34 deletions(-) diff --git a/src/NzbDrone.Core.Test/ParserTests/ParsingServiceTests/MapFixture.cs b/src/NzbDrone.Core.Test/ParserTests/ParsingServiceTests/MapFixture.cs index 64823598c..cff5872cb 100644 --- a/src/NzbDrone.Core.Test/ParserTests/ParsingServiceTests/MapFixture.cs +++ b/src/NzbDrone.Core.Test/ParserTests/ParsingServiceTests/MapFixture.cs @@ -218,39 +218,5 @@ namespace NzbDrone.Core.Test.ParserTests.ParsingServiceTests Mocker.GetMock() .Verify(v => v.FindByTitle(It.IsAny()), 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() - .Setup(s => s.FindSceneMapping(It.IsAny(), It.IsAny(), It.IsAny())) - .Returns(new SceneMapping - { - Title = "Phantom: The Final Countdown", - ParseTerm = "phantomthefinalcountdown", - SceneSeasonNumber = 4, - SeasonNumber = -1, - TvdbId = 100 - }); - - Mocker.GetMock() - .Setup(s => s.GetSceneSeasonNumber(It.IsAny(), It.IsAny())) - .Returns(4); - - Mocker.GetMock() - .Setup(s => s.FindByTvdbId(It.IsAny())) - .Returns(new Series - { - Id = 1, - TvdbId = 100, - Title = "Phantom" - }); - - var remoteEpisode = Subject.Map(parsedEpisodeInfo, 0, 0, null); - } } }