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 27, 2024
1 parent 4a4fb99 commit 36e3dff
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 @@ -759,7 +759,7 @@ func TestCheckPairConsistency(t *testing.T) {
pm.Pairs[asset.Spot].Available = currency.Pairs{p1}

// LTC_USD is only found in the available pairs list and should therefore
// be added to the enabled pairs list due to the atLestOneEnabled code
// be added to the enabled pairs list due to the atLeastOneEnabled code
assert.NoError(t, c.CheckPairConsistency(testFakeExchangeName), "Should not error when adding a pair from available to enabled")
require.Equal(t, 1, len(pm.Pairs[asset.Spot].Enabled), "One pair must be enabled")
assert.True(t, slices.Contains(pm.Pairs[asset.Spot].Enabled, p1), "Newly enabled pair should be in Enabled")
Expand Down

0 comments on commit 36e3dff

Please sign in to comment.