mirror of https://github.com/lidarr/Lidarr
Fixed rTorrent test
This commit is contained in:
parent
0841bf1d2a
commit
a39b36d157
|
@ -63,6 +63,11 @@ namespace NzbDrone.Core.Test.Download.DownloadClientTests.RTorrentTests
|
|||
Mocker.GetMock<IRTorrentProxy>()
|
||||
.Setup(s => s.AddTorrentFromFile(It.IsAny<string>(), It.IsAny<byte[]>(), It.IsAny<RTorrentSettings>()))
|
||||
.Callback(PrepareClientToReturnCompletedItem);
|
||||
|
||||
|
||||
Mocker.GetMock<IRTorrentProxy>()
|
||||
.Setup(s => s.HasHashTorrent(It.IsAny<string>(), It.IsAny<RTorrentSettings>()))
|
||||
.Returns(true);
|
||||
}
|
||||
|
||||
protected virtual void GivenTorrents(List<RTorrentTorrent> torrents)
|
||||
|
|
Loading…
Reference in New Issue