mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
fixed broken tests.
This commit is contained in:
parent
64df2229d6
commit
02c175950b
3 changed files with 7 additions and 3 deletions
|
@ -23,6 +23,13 @@ namespace NzbDrone.Core.Test.Framework
|
|||
{
|
||||
Mocker.SetConstant<IHttpProvider>(new HttpProvider());
|
||||
}
|
||||
|
||||
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