|
|
@ -22,7 +22,6 @@ namespace NzbDrone.Test.Common
|
|
|
|
{
|
|
|
|
{
|
|
|
|
_subject = null;
|
|
|
|
_subject = null;
|
|
|
|
|
|
|
|
|
|
|
|
Mocker.SetConstant<ICacheManger>(new CacheManger());
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
protected TSubject Subject
|
|
|
|
protected TSubject Subject
|
|
|
@ -77,6 +76,7 @@ namespace NzbDrone.Test.Common
|
|
|
|
{
|
|
|
|
{
|
|
|
|
GetType().IsPublic.Should().BeTrue("All Test fixtures should be public to work in mono.");
|
|
|
|
GetType().IsPublic.Should().BeTrue("All Test fixtures should be public to work in mono.");
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Mocker.SetConstant<ICacheManger>(new CacheManger());
|
|
|
|
|
|
|
|
|
|
|
|
Mocker.SetConstant(LogManager.GetLogger("TestLogger"));
|
|
|
|
Mocker.SetConstant(LogManager.GetLogger("TestLogger"));
|
|
|
|
|
|
|
|
|
|
|
@ -86,6 +86,7 @@ namespace NzbDrone.Test.Common
|
|
|
|
|
|
|
|
|
|
|
|
MockedRestProvider = new Mock<RestProvider>();
|
|
|
|
MockedRestProvider = new Mock<RestProvider>();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Directory.CreateDirectory(TempFolder);
|
|
|
|
Directory.CreateDirectory(TempFolder);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|