mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-20 21:54:25 -04:00
fixed unit test file path generation to be linux compatible.
This commit is contained in:
+3
-3
@@ -23,19 +23,19 @@ namespace NzbDrone.Core.Test.ProviderTests.XemCommunicationProviderTests
|
||||
private void WithFailureJson()
|
||||
{
|
||||
Mocker.GetMock<HttpProvider>().Setup(s => s.DownloadString(It.IsAny<String>()))
|
||||
.Returns(File.ReadAllText(@".\Files\Xem\Failure.txt"));
|
||||
.Returns(ReadAllText("Files","Xem","Failure.txt"));
|
||||
}
|
||||
|
||||
private void WithIdsJson()
|
||||
{
|
||||
Mocker.GetMock<HttpProvider>().Setup(s => s.DownloadString(It.IsAny<String>()))
|
||||
.Returns(File.ReadAllText(@".\Files\Xem\Ids.txt"));
|
||||
.Returns(ReadAllText("Files","Xem","Ids.txt"));
|
||||
}
|
||||
|
||||
private void WithMappingsJson()
|
||||
{
|
||||
Mocker.GetMock<HttpProvider>().Setup(s => s.DownloadString(It.IsAny<String>()))
|
||||
.Returns(File.ReadAllText(@".\Files\Xem\Mappings.txt"));
|
||||
.Returns(ReadAllText("Files","Xem","Mappings.txt"));
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
||||
Reference in New Issue
Block a user