diff --git a/src/NzbDrone.Core.Test/MediaFiles/UpdateMovieFileQualityServiceFixture.cs b/src/NzbDrone.Core.Test/MediaFiles/UpdateMovieFileQualityServiceFixture.cs index 88cb9a64a..39ab4a6bd 100644 --- a/src/NzbDrone.Core.Test/MediaFiles/UpdateMovieFileQualityServiceFixture.cs +++ b/src/NzbDrone.Core.Test/MediaFiles/UpdateMovieFileQualityServiceFixture.cs @@ -10,6 +10,7 @@ using NzbDrone.Core.Parser; using NzbDrone.Core.Parser.Model; using NzbDrone.Core.Qualities; using NzbDrone.Core.Test.Framework; +using NzbDrone.Test.Common; namespace NzbDrone.Core.Test.MediaFiles { @@ -58,6 +59,8 @@ namespace NzbDrone.Core.Test.MediaFiles { ExecuteCommand(); + ExceptionVerification.ExpectedWarns(1); + Mocker.GetMock().Verify(s => s.Update(It.IsAny()), Times.Never()); } diff --git a/src/NzbDrone.Core/MediaFiles/UpdateMovieFileQualityService.cs b/src/NzbDrone.Core/MediaFiles/UpdateMovieFileQualityService.cs index 761eb4f1d..d77f94001 100644 --- a/src/NzbDrone.Core/MediaFiles/UpdateMovieFileQualityService.cs +++ b/src/NzbDrone.Core/MediaFiles/UpdateMovieFileQualityService.cs @@ -72,7 +72,7 @@ namespace NzbDrone.Core.MediaFiles ParsedMovieInfo parsedMovieInfo = null; - if (latestImportedName?.IsNotNullOrWhiteSpace() == false) + if (latestImportedName?.IsNotNullOrWhiteSpace() == true) { parsedMovieInfo = _parsingService.ParseMovieInfo(latestImportedName, helpers); } diff --git a/src/NzbDrone.sln b/src/NzbDrone.sln index 2a8af263d..0bed10417 100644 --- a/src/NzbDrone.sln +++ b/src/NzbDrone.sln @@ -1,6 +1,6 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 +# Visual Studio 14 VisualStudioVersion = 14.0.24720.0 MinimumVisualStudioVersion = 10.0.40219.1 Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{57A04B72-8088-4F75-A582-1158CF8291F7}"