mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-16 10:03:51 -07:00
made ImportApprovedEpisodesFixture Os Agnostic
This commit is contained in:
parent
20287f84ce
commit
ee285c2d4a
2 changed files with 3 additions and 16 deletions
|
@ -1,7 +1,5 @@
|
|||
using System.IO;
|
||||
using NUnit.Framework;
|
||||
using NzbDrone.Common;
|
||||
using NzbDrone.Common.Disk;
|
||||
using NzbDrone.Common.Http;
|
||||
using NzbDrone.Test.Common;
|
||||
|
||||
|
@ -9,11 +7,6 @@ namespace NzbDrone.Core.Test.Framework
|
|||
{
|
||||
public abstract class CoreTest : TestBase
|
||||
{
|
||||
protected FileStream OpenRead(params string[] path)
|
||||
{
|
||||
return File.OpenRead(Path.Combine(path));
|
||||
}
|
||||
|
||||
protected string ReadAllText(params string[] path)
|
||||
{
|
||||
return File.ReadAllText(Path.Combine(path));
|
||||
|
@ -23,12 +16,6 @@ namespace NzbDrone.Core.Test.Framework
|
|||
{
|
||||
Mocker.SetConstant<IHttpProvider>(new HttpProvider(TestLogger));
|
||||
}
|
||||
|
||||
// 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