mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-16 02:02:55 -07:00
Started #298
This commit is contained in:
parent
071daf4ab4
commit
0dd30968d5
22 changed files with 8276 additions and 252 deletions
|
@ -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) =>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue