From 7c8a8f8e55348d02b129e1feb324d78527fdc95a Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Thu, 16 Jun 2016 00:45:33 -0700 Subject: [PATCH] AsOsAgnostic --- .../Housekeepers/CleanupAbsolutePathMetadataFilesFixture.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/NzbDrone.Core.Test/Housekeeping/Housekeepers/CleanupAbsolutePathMetadataFilesFixture.cs b/src/NzbDrone.Core.Test/Housekeeping/Housekeepers/CleanupAbsolutePathMetadataFilesFixture.cs index 59b856668..a17e16e1d 100644 --- a/src/NzbDrone.Core.Test/Housekeeping/Housekeepers/CleanupAbsolutePathMetadataFilesFixture.cs +++ b/src/NzbDrone.Core.Test/Housekeeping/Housekeepers/CleanupAbsolutePathMetadataFilesFixture.cs @@ -3,7 +3,6 @@ using FluentAssertions; using NUnit.Framework; using NzbDrone.Common.Extensions; using NzbDrone.Core.Housekeeping.Housekeepers; -using NzbDrone.Core.Metadata; using NzbDrone.Core.Metadata.Files; using NzbDrone.Core.Test.Framework; using NzbDrone.Test.Common; @@ -16,7 +15,7 @@ namespace NzbDrone.Core.Test.Housekeeping.Housekeepers [Test] public void should_not_delete_metadata_files_that_have_a_relative_path() { - var relativePath = @"C:\Test\".AsOsAgnostic().GetRelativePath(@"C:\Test\Relative\Path"); + var relativePath = @"C:\Test\".AsOsAgnostic().GetRelativePath(@"C:\Test\Relative\Path".AsOsAgnostic()); var file = Builder.CreateNew() .With(m => m.RelativePath = relativePath) .BuildNew();