From 223ccb5a73d082c5a88f00cbf742ffe5efd3ccee Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Sun, 14 Jan 2018 16:23:21 -0800 Subject: [PATCH] Fixed broken DeleteEpisodeFileFixture tests --- .../MediaFileDeletionService/DeleteEpisodeFileFixture.cs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/NzbDrone.Core.Test/MediaFiles/MediaFileDeletionService/DeleteEpisodeFileFixture.cs b/src/NzbDrone.Core.Test/MediaFiles/MediaFileDeletionService/DeleteEpisodeFileFixture.cs index 7b59dec8e..59f86e4e6 100644 --- a/src/NzbDrone.Core.Test/MediaFiles/MediaFileDeletionService/DeleteEpisodeFileFixture.cs +++ b/src/NzbDrone.Core.Test/MediaFiles/MediaFileDeletionService/DeleteEpisodeFileFixture.cs @@ -1,4 +1,4 @@ -using System.IO; +using System.IO; using FizzWare.NBuilder; using Moq; using NUnit.Framework; @@ -63,9 +63,8 @@ namespace NzbDrone.Core.Test.MediaFiles.MediaFileDeletionService [Test] public void should_throw_if_root_folder_does_not_exist() { - ExceptionVerification.ExpectedWarns(1); - Assert.Throws(() => Subject.DeleteEpisodeFile(_series, _episodeFile)); + ExceptionVerification.ExpectedWarns(1); } [Test] @@ -73,9 +72,8 @@ namespace NzbDrone.Core.Test.MediaFiles.MediaFileDeletionService { GivenRootFolderExists(); - ExceptionVerification.ExpectedWarns(1); - Assert.Throws(() => Subject.DeleteEpisodeFile(_series, _episodeFile)); + ExceptionVerification.ExpectedWarns(1); } [Test]