mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
moved data from Roaming to ProgramData.
Cleaned up DiskProvider
This commit is contained in:
@@ -108,7 +108,7 @@ namespace NzbDrone.Test.Common
|
||||
}
|
||||
|
||||
|
||||
protected IAppDirectoryInfo TestDirectoryInfo { get; private set; }
|
||||
protected IAppFolderInfo TestFolderInfo { get; private set; }
|
||||
|
||||
protected void WindowsOnly()
|
||||
{
|
||||
@@ -129,11 +129,11 @@ namespace NzbDrone.Test.Common
|
||||
|
||||
protected void WithTempAsAppPath()
|
||||
{
|
||||
Mocker.GetMock<IAppDirectoryInfo>()
|
||||
.SetupGet(c => c.WorkingDirectory)
|
||||
Mocker.GetMock<IAppFolderInfo>()
|
||||
.SetupGet(c => c.AppDataFolder)
|
||||
.Returns(VirtualPath);
|
||||
|
||||
TestDirectoryInfo = Mocker.GetMock<IAppDirectoryInfo>().Object;
|
||||
TestFolderInfo = Mocker.GetMock<IAppFolderInfo>().Object;
|
||||
}
|
||||
|
||||
protected string GetTestFilePath(string fileName)
|
||||
|
Reference in New Issue
Block a user