mirror of https://github.com/Radarr/Radarr
PerformSearchFixture refactoring
This commit is contained in:
parent
5522466497
commit
4bd226f7c4
|
@ -2,6 +2,7 @@
|
|||
using NUnit.Framework;
|
||||
using Ninject;
|
||||
using NzbDrone.Common;
|
||||
using NzbDrone.Core.Model.Notification;
|
||||
using NzbDrone.Test.Common;
|
||||
using PetaPoco;
|
||||
|
||||
|
@ -39,7 +40,7 @@ namespace NzbDrone.Core.Test.Framework
|
|||
|
||||
|
||||
[SetUp]
|
||||
public virtual void SetupBase()
|
||||
public virtual void CoreTestSetup()
|
||||
{
|
||||
LiveKernel = new StandardKernel();
|
||||
}
|
||||
|
@ -59,5 +60,14 @@ namespace NzbDrone.Core.Test.Framework
|
|||
Db = MockLib.GetEmptyDatabase();
|
||||
Mocker.SetConstant(Db);
|
||||
}
|
||||
|
||||
|
||||
protected ProgressNotification MockNotification
|
||||
{
|
||||
get
|
||||
{
|
||||
return new ProgressNotification("Mock notification");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue