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 Nov 13, 2024
1 parent 272fb99 commit c372c0e
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions exchanges/order/order_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (

var errValidationCheckFailed = errors.New("validation check failed")

func TestSubmit_Validate(t *testing.T) {
func TestSubmitValidate(t *testing.T) {
t.Parallel()
testPair := currency.NewPair(currency.BTC, currency.LTC)
tester := []struct {
Expand All @@ -48,14 +48,10 @@ func TestSubmit_Validate(t *testing.T) {
{

ExpectedErr: ErrAssetNotSet,
Submit: &Submit{Exchange: "test", Pair: testPair},
}, // valid pair but invalid asset
{
ExpectedErr: asset.ErrNotSupported,
Submit: &Submit{
Exchange: "test",
Pair: testPair,
AssetType: 255,
AssetType: asset.Empty,
},
}, // valid pair but invalid asset
{
Expand Down

0 comments on commit c372c0e

Please sign in to comment.