mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 02:37:08 -07:00
moved data from Roaming to ProgramData.
Cleaned up DiskProvider
This commit is contained in:
parent
7ff1335a2e
commit
d60b863e14
33 changed files with 202 additions and 242 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue