Bugfix: OKCoin/OKEX SetRealOrderDefaults

This commit is contained in:
Adrian Gallagher
2019-03-26 16:53:38 +11:00
parent 286436de76
commit fbc9b0aa97
2 changed files with 2 additions and 2 deletions

View File

@@ -39,7 +39,7 @@ func TestSetDefaults(t *testing.T) {
// TestSetRealOrderDefaults Sets test defaults when test can impact real money/orders
func TestSetRealOrderDefaults(t *testing.T) {
TestSetDefaults(t)
if areTestAPIKeysSet() || !canManipulateRealOrders {
if !areTestAPIKeysSet() || !canManipulateRealOrders {
t.Skip("Ensure canManipulateRealOrders is true and your API keys are set")
}
}

View File

@@ -40,7 +40,7 @@ func TestSetDefaults(t *testing.T) {
// TestSetRealOrderDefaults Sets test defaults when test can impact real money/orders
func TestSetRealOrderDefaults(t *testing.T) {
TestSetDefaults(t)
if areTestAPIKeysSet() || !canManipulateRealOrders {
if !areTestAPIKeysSet() || !canManipulateRealOrders {
t.Skip("Ensure canManipulateRealOrders is true and your API keys are set")
}
}