From fb030b26ca401f0a79f5d85e258d5db62278488f Mon Sep 17 00:00:00 2001 From: Gareth Kirwan Date: Thu, 15 Aug 2024 17:43:10 +0700 Subject: [PATCH] fixup! Kraken: Sub Channel improvements --- exchanges/kraken/kraken_test.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/exchanges/kraken/kraken_test.go b/exchanges/kraken/kraken_test.go index b412a98fe96..61d92216d37 100644 --- a/exchanges/kraken/kraken_test.go +++ b/exchanges/kraken/kraken_test.go @@ -516,16 +516,13 @@ func TestOrders(t *testing.T) { t.Parallel() sharedtestvalues.SkipTestIfCredentialsUnset(t, k, canManipulateRealOrders) - // EGeneral:Invalid arguments:volume - t.Skip("AddOrder test is a known failure due to volume parameter") - args := AddOrderOptions{OrderFlags: "fcib"} cp, err := currency.NewPairFromString("XXBTZUSD") assert.NoError(t, err, "NewPairFromString should not error") resp, err := k.AddOrder(context.Background(), cp, - order.Sell.Lower(), order.Limit.Lower(), - 0.00000001, 0, 0, 0, &args) + order.Buy.Lower(), order.Limit.Lower(), + 0.0001, 9000, 9000, 0, &args) if assert.NoError(t, err, "AddOrder should not error") { if assert.Len(t, resp.TransactionIDs, 1, "One TransactionId should be returned") {