From 4bd226f7c405cc3945d0455d38da2853185dffca Mon Sep 17 00:00:00 2001 From: "kay.one" Date: Thu, 17 Nov 2011 20:36:37 -0800 Subject: [PATCH] PerformSearchFixture refactoring --- NzbDrone.Core.Test/Framework/CoreTest.cs | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/NzbDrone.Core.Test/Framework/CoreTest.cs b/NzbDrone.Core.Test/Framework/CoreTest.cs index 877096554..b70ecf38e 100644 --- a/NzbDrone.Core.Test/Framework/CoreTest.cs +++ b/NzbDrone.Core.Test/Framework/CoreTest.cs @@ -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"); + } + } } }