From 74e0db2829ecc8c2458257ffcb87813b0830524b Mon Sep 17 00:00:00 2001 From: Leonardo Galli Date: Tue, 30 Jan 2018 15:09:19 +0100 Subject: [PATCH] @cosmetic Fixed all erroring tests. --- .../Download/DownloadClientTests/NzbgetTests/NzbgetFixture.cs | 2 +- .../Download/DownloadClientTests/SabnzbdTests/SabnzbdFixture.cs | 2 +- .../DownloadClientTests/UTorrentTests/UTorrentFixture.cs | 2 +- .../MediaCoverTests/MediaCoverServiceFixture.cs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/NzbDrone.Core.Test/Download/DownloadClientTests/NzbgetTests/NzbgetFixture.cs b/src/NzbDrone.Core.Test/Download/DownloadClientTests/NzbgetTests/NzbgetFixture.cs index 995d73e64..6b03660c6 100644 --- a/src/NzbDrone.Core.Test/Download/DownloadClientTests/NzbgetTests/NzbgetFixture.cs +++ b/src/NzbDrone.Core.Test/Download/DownloadClientTests/NzbgetTests/NzbgetFixture.cs @@ -340,7 +340,7 @@ public void should_return_status_with_outputdir() result.IsLocalhost.Should().BeTrue(); result.OutputRootFolders.Should().NotBeNull(); - result.OutputRootFolders.First().Should().Be(@"/remote/mount/tv"); + result.OutputRootFolders.First().Should().Be(@"/remote/mount/movie"); } [Test] diff --git a/src/NzbDrone.Core.Test/Download/DownloadClientTests/SabnzbdTests/SabnzbdFixture.cs b/src/NzbDrone.Core.Test/Download/DownloadClientTests/SabnzbdTests/SabnzbdFixture.cs index 44ddb4b4a..a9eb1b97f 100644 --- a/src/NzbDrone.Core.Test/Download/DownloadClientTests/SabnzbdTests/SabnzbdFixture.cs +++ b/src/NzbDrone.Core.Test/Download/DownloadClientTests/SabnzbdTests/SabnzbdFixture.cs @@ -544,7 +544,7 @@ public void should_test_success_if_tv_sorting_contains_different_category() public void should_test_failed_if_tv_sorting_contains_category() { _config.Misc.enable_tv_sorting = true; - _config.Misc.tv_categories = new[] { "tv" }; + _config.Misc.tv_categories = new[] { "movie" }; var result = new NzbDroneValidationResult(Subject.Test()); diff --git a/src/NzbDrone.Core.Test/Download/DownloadClientTests/UTorrentTests/UTorrentFixture.cs b/src/NzbDrone.Core.Test/Download/DownloadClientTests/UTorrentTests/UTorrentFixture.cs index 1d8d0a43c..0a96371fe 100644 --- a/src/NzbDrone.Core.Test/Download/DownloadClientTests/UTorrentTests/UTorrentFixture.cs +++ b/src/NzbDrone.Core.Test/Download/DownloadClientTests/UTorrentTests/UTorrentFixture.cs @@ -328,7 +328,7 @@ public void should_return_status_with_outputdirs() result.IsLocalhost.Should().BeTrue(); result.OutputRootFolders.Should().NotBeNull(); - result.OutputRootFolders.First().Should().Be(@"C:\Downloads\Finished\utorrent\tv".AsOsAgnostic()); + result.OutputRootFolders.First().Should().Be(@"C:\Downloads\Finished\utorrent\movie".AsOsAgnostic()); } [Test] diff --git a/src/NzbDrone.Core.Test/MediaCoverTests/MediaCoverServiceFixture.cs b/src/NzbDrone.Core.Test/MediaCoverTests/MediaCoverServiceFixture.cs index fdf2efb07..910c1eed9 100644 --- a/src/NzbDrone.Core.Test/MediaCoverTests/MediaCoverServiceFixture.cs +++ b/src/NzbDrone.Core.Test/MediaCoverTests/MediaCoverServiceFixture.cs @@ -47,7 +47,7 @@ public void should_convert_cover_urls_to_local() Subject.ConvertToLocalUrls(12, covers); - covers.Single().Url.Should().Be("/MediaCover/12/banner.jpg?lastWrite=1234"); + covers.Single().Url.Should().Be("/MediaCover/12/banner.jpg"); } [Test]