mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-14 01:02:57 -07:00
Fixed the new dependancy with the admin class tests
This commit is contained in:
parent
e34170f55a
commit
1ebf80d1d1
1 changed files with 3 additions and 0 deletions
|
@ -57,6 +57,7 @@ namespace PlexRequests.UI.Tests
|
||||||
private Mock<IPlexApi> PlexMock { get; set; }
|
private Mock<IPlexApi> PlexMock { get; set; }
|
||||||
private Mock<ISonarrApi> SonarrApiMock { get; set; }
|
private Mock<ISonarrApi> SonarrApiMock { get; set; }
|
||||||
private Mock<IPushbulletApi> PushbulletApi { get; set; }
|
private Mock<IPushbulletApi> PushbulletApi { get; set; }
|
||||||
|
private Mock<ICouchPotatoApi> CpApi { get; set; }
|
||||||
|
|
||||||
private ConfigurableBootstrapper Bootstrapper { get; set; }
|
private ConfigurableBootstrapper Bootstrapper { get; set; }
|
||||||
|
|
||||||
|
@ -79,6 +80,7 @@ namespace PlexRequests.UI.Tests
|
||||||
EmailMock = new Mock<ISettingsService<EmailNotificationSettings>>();
|
EmailMock = new Mock<ISettingsService<EmailNotificationSettings>>();
|
||||||
PushbulletApi = new Mock<IPushbulletApi>();
|
PushbulletApi = new Mock<IPushbulletApi>();
|
||||||
PushbulletSettings = new Mock<ISettingsService<PushbulletNotificationSettings>>();
|
PushbulletSettings = new Mock<ISettingsService<PushbulletNotificationSettings>>();
|
||||||
|
CpApi = new Mock<ICouchPotatoApi>();
|
||||||
|
|
||||||
Bootstrapper = new ConfigurableBootstrapper(with =>
|
Bootstrapper = new ConfigurableBootstrapper(with =>
|
||||||
{
|
{
|
||||||
|
@ -93,6 +95,7 @@ namespace PlexRequests.UI.Tests
|
||||||
with.Dependency(EmailMock.Object);
|
with.Dependency(EmailMock.Object);
|
||||||
with.Dependency(PushbulletApi.Object);
|
with.Dependency(PushbulletApi.Object);
|
||||||
with.Dependency(PushbulletSettings.Object);
|
with.Dependency(PushbulletSettings.Object);
|
||||||
|
with.Dependency(CpApi.Object);
|
||||||
with.RootPathProvider<TestRootPathProvider>();
|
with.RootPathProvider<TestRootPathProvider>();
|
||||||
with.RequestStartup((container, pipelines, context) =>
|
with.RequestStartup((container, pipelines, context) =>
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue