From 126e9853351f238a4b65c0d461e5061b983d2a4f Mon Sep 17 00:00:00 2001 From: JKorf Date: Sat, 10 Aug 2024 14:18:56 +0200 Subject: [PATCH] Test fixes --- Kucoin.Net.UnitTests/KucoinRestIntegrationTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Kucoin.Net.UnitTests/KucoinRestIntegrationTests.cs b/Kucoin.Net.UnitTests/KucoinRestIntegrationTests.cs index 67160aa..3b395a8 100644 --- a/Kucoin.Net.UnitTests/KucoinRestIntegrationTests.cs +++ b/Kucoin.Net.UnitTests/KucoinRestIntegrationTests.cs @@ -84,7 +84,7 @@ public async Task TestSpotExchangeData() await RunAndCheckResult(client => client.SpotApi.ExchangeData.GetAssetsAsync(default), false); await RunAndCheckResult(client => client.SpotApi.ExchangeData.GetAssetAsync("ETH", default), false); await RunAndCheckResult(client => client.SpotApi.ExchangeData.GetFiatPricesAsync(default, default, default), false); - await RunAndCheckResult(client => client.SpotApi.ExchangeData.GetLeveragedTokensAsync(default), false); + await RunAndCheckResult(client => client.SpotApi.ExchangeData.GetLeveragedTokensAsync(default), true); } [Test] @@ -131,7 +131,7 @@ public async Task TestFuturesExchangeData() await RunAndCheckResult(client => client.FuturesApi.ExchangeData.GetServerTimeAsync(default), false); await RunAndCheckResult(client => client.FuturesApi.ExchangeData.GetServiceStatusAsync(default), false); await RunAndCheckResult(client => client.FuturesApi.ExchangeData.GetKlinesAsync("XBTUSDM", Enums.FuturesKlineInterval.OneDay, default, default, default), false); - await RunAndCheckResult(client => client.FuturesApi.ExchangeData.Get24HourTransactionVolumeAsync(default), false); + await RunAndCheckResult(client => client.FuturesApi.ExchangeData.Get24HourTransactionVolumeAsync(default), true); await RunAndCheckResult(client => client.FuturesApi.ExchangeData.GetFundingRateHistoryAsync("XBTUSDM", DateTime.UtcNow.AddDays(-3), DateTime.UtcNow, default), false); }