diff --git a/server/RdtClient.Service.Test/Services/TorrentClients/TorBoxDebridClientTest.cs b/server/RdtClient.Service.Test/Services/TorrentClients/TorBoxDebridClientTest.cs index abe0608..a19381f 100644 --- a/server/RdtClient.Service.Test/Services/TorrentClients/TorBoxDebridClientTest.cs +++ b/server/RdtClient.Service.Test/Services/TorrentClients/TorBoxDebridClientTest.cs @@ -383,7 +383,7 @@ public class TorBoxDebridClientTest torBoxClientMock.Setup(m => m.Torrents).Returns(torrentsApiMock.Object); clientMock.Protected().Setup("GetClient", ItExpr.IsAny()).Returns(torBoxClientMock.Object); - torrentsApiMock.Setup(m => m.GetHashInfoAsync("test-hash", true, It.IsAny())) + torrentsApiMock.Setup(m => m.GetHashInfoAsync("test-hash", true, 1000, It.IsAny())) .ReturnsAsync(new TorrentInfoResult { Id = 12345 @@ -434,7 +434,7 @@ public class TorBoxDebridClientTest torBoxClientMock.Setup(m => m.Torrents).Returns(torrentsApiMock.Object); clientMock.Protected().Setup("GetClient", ItExpr.IsAny()).Returns(torBoxClientMock.Object); - torrentsApiMock.Setup(m => m.GetHashInfoAsync("test-hash", true, It.IsAny())) + torrentsApiMock.Setup(m => m.GetHashInfoAsync("test-hash", true, 1000, It.IsAny())) .ReturnsAsync(new TorrentInfoResult { Id = 12345 @@ -544,7 +544,7 @@ public class TorBoxDebridClientTest torBoxClientMock.Setup(m => m.Usenet).Returns(usenetApiMock.Object); clientMock.Protected().Setup("GetClient", ItExpr.IsAny()).Returns(torBoxClientMock.Object); - usenetApiMock.Setup(m => m.GetCurrentAsync(true, It.IsAny())) + usenetApiMock.Setup(m => m.GetCurrentAsync(true, 1000, It.IsAny())) .ReturnsAsync(new List { new()