Skip to content

Commit

Permalink
fixed test according to BorrowAsync() signature changes
Browse files Browse the repository at this point in the history
  • Loading branch information
alokym86 committed Sep 28, 2024
1 parent 20d201d commit 08652db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Kucoin.Net.UnitTests/RestRequestTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public async Task ValidateSpotMarginCalls()
opts.OutputOriginalData = true;
});
var tester = new RestRequestValidator<KucoinRestClient>(client, "Endpoints/Spot/Margin", "https://api.kucoin.com", IsAuthenticated, "data", stjCompare: false);
await tester.ValidateAsync(client => client.SpotApi.Margin.BorrowAsync("ETH", Enums.TimeInForce.GoodTillCanceled, 1), "Borrow");
await tester.ValidateAsync(client => client.SpotApi.Margin.BorrowAsync("ETH", Enums.BorrowOrderType.FOK, 1), "Borrow");
await tester.ValidateAsync(client => client.SpotApi.Margin.RepayAsync("ETH", 1), "Repay");
await tester.ValidateAsync(client => client.SpotApi.Margin.GetBorrowHistoryAsync("ETH"), "GetBorrowHistory");
await tester.ValidateAsync(client => client.SpotApi.Margin.GetRepayHistoryAsync("ETH"), "GetRepayHistory");
Expand Down

0 comments on commit 08652db

Please sign in to comment.