From 1ebf80d1d120c2149dacdeadc87dfaa6219a4c30 Mon Sep 17 00:00:00 2001 From: tidusjar Date: Sat, 19 Mar 2016 00:17:53 +0000 Subject: [PATCH] Fixed the new dependancy with the admin class tests --- PlexRequests.UI.Tests/AdminModuleTests.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/PlexRequests.UI.Tests/AdminModuleTests.cs b/PlexRequests.UI.Tests/AdminModuleTests.cs index e10594a71..8e5ebbdc4 100644 --- a/PlexRequests.UI.Tests/AdminModuleTests.cs +++ b/PlexRequests.UI.Tests/AdminModuleTests.cs @@ -57,6 +57,7 @@ namespace PlexRequests.UI.Tests private Mock PlexMock { get; set; } private Mock SonarrApiMock { get; set; } private Mock PushbulletApi { get; set; } + private Mock CpApi { get; set; } private ConfigurableBootstrapper Bootstrapper { get; set; } @@ -79,6 +80,7 @@ namespace PlexRequests.UI.Tests EmailMock = new Mock>(); PushbulletApi = new Mock(); PushbulletSettings = new Mock>(); + CpApi = new Mock(); Bootstrapper = new ConfigurableBootstrapper(with => { @@ -93,6 +95,7 @@ namespace PlexRequests.UI.Tests with.Dependency(EmailMock.Object); with.Dependency(PushbulletApi.Object); with.Dependency(PushbulletSettings.Object); + with.Dependency(CpApi.Object); with.RootPathProvider(); with.RequestStartup((container, pipelines, context) => {