mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
moved logic for reading static file to mappers
This commit is contained in:
parent
290e072f2e
commit
9f0ae763ff
20 changed files with 144 additions and 209 deletions
|
@ -7,8 +7,6 @@ namespace NzbDrone.Core.Test.Framework
|
|||
{
|
||||
public abstract class CoreTest : TestBase
|
||||
{
|
||||
|
||||
|
||||
protected FileStream OpenRead(params string[] path)
|
||||
{
|
||||
return File.OpenRead(Path.Combine(path));
|
||||
|
@ -21,7 +19,7 @@ namespace NzbDrone.Core.Test.Framework
|
|||
|
||||
protected void UseRealHttp()
|
||||
{
|
||||
Mocker.SetConstant<IHttpProvider>(new HttpProvider());
|
||||
Mocker.SetConstant<IHttpProvider>(new HttpProvider(TestLogger));
|
||||
}
|
||||
|
||||
protected void UseRealDisk()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue