Allow Moq to intercept TorrentInfo in tests
This commit is contained in:
parent
797c58e654
commit
28b7c79a6b
1 changed files with 1 additions and 1 deletions
|
|
@ -183,7 +183,7 @@ public class QBittorrent(ILogger<QBittorrent> logger, Settings settings, Authent
|
||||||
return preferences;
|
return preferences;
|
||||||
}
|
}
|
||||||
|
|
||||||
public async Task<IList<TorrentInfo>> TorrentInfo()
|
public virtual async Task<IList<TorrentInfo>> TorrentInfo()
|
||||||
{
|
{
|
||||||
var savePath = Settings.AppDefaultSavePath;
|
var savePath = Settings.AppDefaultSavePath;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue