1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01:00

@cosmetic Fixed all erroring tests.

This commit is contained in:
Leonardo Galli 2018-01-30 15:09:19 +01:00
parent 2459ddb6f4
commit 74e0db2829
4 changed files with 4 additions and 4 deletions

View File

@ -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]

View File

@ -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());

View File

@ -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]

View File

@ -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]