Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JKorf committed Dec 20, 2024
1 parent cb36e3f commit 921c1bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OKX.Net.UnitTests/OKXRestIntegrationTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public override OKXRestClient GetClient(ILoggerFactory loggerFactory)
return new OKXRestClient(null, loggerFactory, Options.Create(new OKXRestOptions
{
OutputOriginalData = true,
Environment = Authenticated ? OKXEnvironment.Europe : OKXEnvironment.Live,
ApiCredentials = Authenticated ? new OKXApiCredentials(key, sec, pass) : null
}));
}
Expand Down Expand Up @@ -71,7 +72,6 @@ public async Task TestAccount()
await RunAndCheckResult(client => client.UnifiedApi.Account.GetFundingBillDetailsAsync(default, default, default, default, 100, default, default), true);
await RunAndCheckResult(client => client.UnifiedApi.Account.GetDepositHistoryAsync(default, default, default, default, default, 100, default, default, default, default), true);
await RunAndCheckResult(client => client.UnifiedApi.Account.GetWithdrawalHistoryAsync(default, default, default, default, default, 100, default, default, default), true);
await RunAndCheckResult(client => client.UnifiedApi.Account.GetSavingBalancesAsync(default, default), true);
await RunAndCheckResult(client => client.UnifiedApi.Account.GetAssetValuationAsync(default, default), true);
}

Expand Down

0 comments on commit 921c1bf

Please sign in to comment.