From f852ca91c03af13aa0bfc57a05714d0a80351724 Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Tue, 2 May 2017 22:52:11 -0700 Subject: [PATCH] Clean up GrabbedReleaseQualityFixture --- .../Specifications/GrabbedReleaseQualityFixture.cs | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/NzbDrone.Core.Test/MediaFiles/EpisodeImport/Specifications/GrabbedReleaseQualityFixture.cs b/src/NzbDrone.Core.Test/MediaFiles/EpisodeImport/Specifications/GrabbedReleaseQualityFixture.cs index fe88590c7..f737fd388 100644 --- a/src/NzbDrone.Core.Test/MediaFiles/EpisodeImport/Specifications/GrabbedReleaseQualityFixture.cs +++ b/src/NzbDrone.Core.Test/MediaFiles/EpisodeImport/Specifications/GrabbedReleaseQualityFixture.cs @@ -9,7 +9,6 @@ using NzbDrone.Core.MediaFiles.EpisodeImport.Specifications; using NzbDrone.Core.Parser.Model; using NzbDrone.Core.Qualities; using NzbDrone.Core.Test.Framework; -using NzbDrone.Test.Common; namespace NzbDrone.Core.Test.MediaFiles.EpisodeImport.Specifications { @@ -23,13 +22,7 @@ namespace NzbDrone.Core.Test.MediaFiles.EpisodeImport.Specifications public void Setup() { _localEpisode = Builder.CreateNew() - .With(l => l.Path = @"C:\Test\Unsorted\Series.Title.S01E01.720p.HDTV-Sonarr\S01E05.mkv".AsOsAgnostic()) .With(l => l.Quality = new QualityModel(Quality.Bluray720p)) - .With(l => l.ParsedEpisodeInfo = - Builder.CreateNew() - .With(p => p.EpisodeNumbers = new[] {5}) - .With(p => p.FullSeason = false) - .Build()) .Build(); _downloadClientItem = Builder.CreateNew() @@ -41,11 +34,10 @@ namespace NzbDrone.Core.Test.MediaFiles.EpisodeImport.Specifications Mocker.GetMock() .Setup(s => s.FindByDownloadId(It.IsAny())) .Returns(history); - } [Test] - public void should_be_accepted_when_downloadClientItem_is_ull() + public void should_be_accepted_when_downloadClientItem_is_null() { Subject.IsSatisfiedBy(_localEpisode, null).Accepted.Should().BeTrue(); }