mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 10:36:54 -07:00
#254 Removed the cache, we are now storing the plex information into the database.
There is a big structure change around this, also increased the default check time to be in hours.
This commit is contained in:
parent
af1c93620f
commit
2608e53399
29 changed files with 479 additions and 170 deletions
|
@ -53,6 +53,7 @@ namespace PlexRequests.Services.Tests
|
|||
private Mock<INotificationService> NotificationMock { get; set; }
|
||||
private Mock<IJobRecord> JobRec { get; set; }
|
||||
private Mock<IRepository<UsersToNotify>> NotifyUsers { get; set; }
|
||||
private Mock<IRepository<PlexEpisodes>> PlexEpisodes { get; set; }
|
||||
|
||||
[SetUp]
|
||||
public void Setup()
|
||||
|
@ -64,8 +65,9 @@ namespace PlexRequests.Services.Tests
|
|||
NotificationMock = new Mock<INotificationService>();
|
||||
CacheMock = new Mock<ICacheProvider>();
|
||||
NotifyUsers = new Mock<IRepository<UsersToNotify>>();
|
||||
PlexEpisodes = new Mock<IRepository<PlexEpisodes>>();
|
||||
JobRec = new Mock<IJobRecord>();
|
||||
Checker = new PlexAvailabilityChecker(SettingsMock.Object, RequestMock.Object, PlexMock.Object, CacheMock.Object, NotificationMock.Object, JobRec.Object, NotifyUsers.Object);
|
||||
Checker = new PlexAvailabilityChecker(SettingsMock.Object, RequestMock.Object, PlexMock.Object, CacheMock.Object, NotificationMock.Object, JobRec.Object, NotifyUsers.Object, PlexEpisodes.Object);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue