1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2025-01-03 05:35:29 +00:00

Fix agnostic path in test

This commit is contained in:
Mark McDowall 2023-08-03 21:35:49 -07:00
parent 63a911a9a5
commit 60714eb89a

View file

@ -48,7 +48,7 @@ namespace NzbDrone.Core.Test.RootFolderTests
var seriesPath = "/mnt/tv/Series Title";
GivenRootFolders(@"C:\Test\TV".AsOsAgnostic(), @"D:\Test\TV".AsOsAgnostic());
Subject.GetBestRootFolderPath(seriesPath).Should().Be(@"/mnt/tv".AsOsAgnostic());
Subject.GetBestRootFolderPath(seriesPath).Should().Be(@"/mnt/tv");
}
[Test]
@ -59,7 +59,7 @@ namespace NzbDrone.Core.Test.RootFolderTests
var seriesPath = @"T:\Test\TV\Series Title";
GivenRootFolders(@"C:\Test\TV".AsOsAgnostic(), @"D:\Test\TV".AsOsAgnostic());
Subject.GetBestRootFolderPath(seriesPath).Should().Be(@"T:\Test\TV".AsOsAgnostic());
Subject.GetBestRootFolderPath(seriesPath).Should().Be(@"T:\Test\TV");
}
}
}