This commit is contained in:
tidusjar 2016-06-06 14:31:20 +01:00
parent 071daf4ab4
commit 0dd30968d5
22 changed files with 8276 additions and 252 deletions

View file

@ -74,6 +74,7 @@ namespace PlexRequests.UI.Tests
private Mock<ICacheProvider> Cache { get; set; }
private Mock<ISettingsService<LogSettings>> Log { get; set; }
private Mock<ISettingsService<SlackNotificationSettings>> SlackSettings { get; set; }
private Mock<ISettingsService<LandingPageSettings>> LandingPageSettings { get; set; }
private Mock<ISlackApi> SlackApi { get; set; }
private ConfigurableBootstrapper Bootstrapper { get; set; }
@ -109,6 +110,8 @@ namespace PlexRequests.UI.Tests
Log = new Mock<ISettingsService<LogSettings>>();
SlackApi = new Mock<ISlackApi>();
SlackSettings = new Mock<ISettingsService<SlackNotificationSettings>>();
LandingPageSettings = new Mock<ISettingsService<LandingPageSettings>>();
Bootstrapper = new ConfigurableBootstrapper(with =>
{
@ -133,6 +136,7 @@ namespace PlexRequests.UI.Tests
with.Dependency(Cache.Object);
with.Dependency(Log.Object);
with.Dependency(SlackApi.Object);
with.Dependency(LandingPageSettings.Object);
with.Dependency(SlackSettings.Object);
with.RootPathProvider<TestRootPathProvider>();
with.RequestStartup((container, pipelines, context) =>