Skip to content

Commit

Permalink
fixup! Config: Move assetEnabled upgrade to Version management
Browse files Browse the repository at this point in the history
  • Loading branch information
gbjk committed Dec 9, 2024
1 parent 00bc7a2 commit 17836f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ func TestCheckPairConsistency(t *testing.T) {

pm.Pairs[asset.Spot].Enabled = nil
assert.NoError(t, c.CheckPairConsistency(testFakeExchangeName), "Should not error when adding a pair from available to enabled to fulfil atLeastOne")
assert.NotEmpty(t, pm.Pairs[asset.Spot].Enabled, "One pair must be enabled")
assert.NotEmpty(t, pm.Pairs[asset.Spot].Enabled, "One pair should be enabled")

pm.Pairs[asset.Spot].Enabled = currency.Pairs{p1, p2}
assert.NoError(t, c.CheckPairConsistency(testFakeExchangeName), "CheckPairConsistency should not error with when removing an invalid pair")
Expand Down

0 comments on commit 17836f9

Please sign in to comment.