mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-16 02:02:55 -07:00
parent
6e3e290359
commit
e563b5bf3d
12 changed files with 108 additions and 31 deletions
|
@ -48,6 +48,7 @@ using PlexRequests.UI.Models;
|
|||
using PlexRequests.UI.Modules;
|
||||
using PlexRequests.Helpers;
|
||||
using PlexRequests.Helpers.Analytics;
|
||||
using PlexRequests.Services.Jobs;
|
||||
using PlexRequests.UI.Helpers;
|
||||
|
||||
namespace PlexRequests.UI.Tests
|
||||
|
@ -81,6 +82,7 @@ namespace PlexRequests.UI.Tests
|
|||
private Mock<ISlackApi> SlackApi { get; set; }
|
||||
private Mock<IAnalytics> Analytics { get; set; }
|
||||
private Mock<ISettingsService<NotificationSettingsV2>> NotifyV2 { get; set; }
|
||||
private Mock<IRecentlyAdded> RecentlyAdded { get; set; }
|
||||
|
||||
private ConfigurableBootstrapper Bootstrapper { get; set; }
|
||||
|
||||
|
@ -122,6 +124,7 @@ namespace PlexRequests.UI.Tests
|
|||
RecorderMock = new Mock<IJobRecord>();
|
||||
Analytics = new Mock<IAnalytics>();
|
||||
NotifyV2= new Mock<ISettingsService<NotificationSettingsV2>>();
|
||||
RecentlyAdded = new Mock<IRecentlyAdded>();
|
||||
|
||||
|
||||
Bootstrapper = new ConfigurableBootstrapper(with =>
|
||||
|
@ -153,6 +156,7 @@ namespace PlexRequests.UI.Tests
|
|||
with.Dependency(SlackSettings.Object);
|
||||
with.Dependency(ScheduledJobsSettingsMock.Object);
|
||||
with.Dependency(RecorderMock.Object);
|
||||
with.Dependency(RecentlyAdded.Object);
|
||||
with.RootPathProvider<TestRootPathProvider>();
|
||||
with.RequestStartup((container, pipelines, context) =>
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue