mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2026-04-23 22:45:06 -04:00
New: Multi target net framework 4.6.2 and net core 3.0
This commit is contained in:
@@ -81,9 +81,13 @@ 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.GetByMovieId(It.IsAny<int>(), null))
|
||||
.Returns(new List<History.History> {imported});
|
||||
|
||||
Mocker.GetMock<IParsingService>().Setup(s => s.ParseMovieInfo("My Movie 2018.mkv", It.IsAny<List<object>>()))
|
||||
.Returns(_newInfo);
|
||||
|
||||
ExecuteCommand();
|
||||
|
||||
Mocker.GetMock<IParsingService>().Verify(s => s.ParseMovieInfo("My Movie 2018.mkv", It.IsAny<List<object>>()));
|
||||
|
||||
Reference in New Issue
Block a user