mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
Added BannerDownloadJob, it will run every 30 days.
New series will have their banner downloaded on import.
This commit is contained in:
parent
be92686e0e
commit
dfd0720872
10 changed files with 383 additions and 2 deletions
|
@ -44,6 +44,8 @@ namespace NzbDrone.Core.Test
|
|||
.Setup(j => j.Start(notification, series[1].SeriesId, 0))
|
||||
.Callback(() => series[1].LastDiskSync = DateTime.Now);
|
||||
|
||||
mocker.GetMock<BannerDownloadJob>()
|
||||
.Setup(j => j.Start(notification, It.IsAny<int>(), 0));
|
||||
|
||||
mocker.GetMock<UpdateInfoJob>()
|
||||
.Setup(j => j.Start(notification, series[0].SeriesId, 0))
|
||||
|
@ -109,6 +111,8 @@ namespace NzbDrone.Core.Test
|
|||
.Setup(j => j.Start(notification, series[0].SeriesId, 0))
|
||||
.Callback(() => series[0].LastDiskSync = DateTime.Now);
|
||||
|
||||
mocker.GetMock<BannerDownloadJob>()
|
||||
.Setup(j => j.Start(notification, series[0].SeriesId, 0));
|
||||
|
||||
mocker.GetMock<SeriesProvider>()
|
||||
.Setup(s => s.GetSeries(series[0].SeriesId)).Returns(series[0]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue