mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-23 22:45:06 -04:00
New: Backend changes for new UI
This commit is contained in:
@@ -45,7 +45,7 @@ namespace NzbDrone.Core.Test.MediaFiles
|
||||
Mocker.GetMock<IMediaFileService>().Setup(s => s.GetMovies(It.IsAny<IEnumerable<int>>()))
|
||||
.Returns(new List<MovieFile>{_movieFile});
|
||||
|
||||
Mocker.GetMock<IHistoryService>().Setup(s => s.FindByMovieId(It.IsAny<int>()))
|
||||
Mocker.GetMock<IHistoryService>().Setup(s => s.GetByMovieId(It.IsAny<int>(), null))
|
||||
.Returns(new List<History.History>());
|
||||
}
|
||||
|
||||
@@ -81,7 +81,7 @@ namespace NzbDrone.Core.Test.MediaFiles
|
||||
var imported = Builder<History.History>.CreateNew()
|
||||
.With(h => h.EventType = HistoryEventType.DownloadFolderImported)
|
||||
.With(h => h.SourceTitle = "My Movie 2018.mkv").Build();
|
||||
Mocker.GetMock<IHistoryService>().Setup(s => s.FindByMovieId(It.IsAny<int>()))
|
||||
Mocker.GetMock<IHistoryService>().Setup(s => s.GetByMovieId(It.IsAny<int>(), null))
|
||||
.Returns(new List<History.History> {imported});
|
||||
|
||||
ExecuteCommand();
|
||||
|
||||
Reference in New Issue
Block a user