diff --git a/server/RdtClient.Service.Test/RdtClient.Service.Test.csproj b/server/RdtClient.Service.Test/RdtClient.Service.Test.csproj index db8dedf..dba5280 100644 --- a/server/RdtClient.Service.Test/RdtClient.Service.Test.csproj +++ b/server/RdtClient.Service.Test/RdtClient.Service.Test.csproj @@ -21,7 +21,7 @@ - + all 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() diff --git a/server/RdtClient.Service/RdtClient.Service.csproj b/server/RdtClient.Service/RdtClient.Service.csproj index c35ece3..6f375a4 100644 --- a/server/RdtClient.Service/RdtClient.Service.csproj +++ b/server/RdtClient.Service/RdtClient.Service.csproj @@ -26,7 +26,7 @@ - +