mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
DiskProvider split to Windows and Mono projects
This commit is contained in:
parent
6d61d57ba1
commit
37231d1ef0
97 changed files with 1366 additions and 324 deletions
|
@ -1,6 +1,7 @@
|
|||
using System.IO;
|
||||
using NUnit.Framework;
|
||||
using NzbDrone.Common;
|
||||
using NzbDrone.Common.Disk;
|
||||
using NzbDrone.Test.Common;
|
||||
|
||||
namespace NzbDrone.Core.Test.Framework
|
||||
|
@ -22,12 +23,11 @@ namespace NzbDrone.Core.Test.Framework
|
|||
Mocker.SetConstant<IHttpProvider>(new HttpProvider(TestLogger));
|
||||
}
|
||||
|
||||
protected void UseRealDisk()
|
||||
{
|
||||
Mocker.SetConstant<IDiskProvider>(new DiskProvider());
|
||||
WithTempAsAppPath();
|
||||
}
|
||||
|
||||
// protected void UseRealDisk()
|
||||
// {
|
||||
// Mocker.SetConstant<IDiskProvider>(new DiskProvider());
|
||||
// WithTempAsAppPath();
|
||||
// }
|
||||
}
|
||||
|
||||
public abstract class CoreTest<TSubject> : CoreTest where TSubject : class
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue