Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
samuael committed Dec 5, 2024
1 parent 5406298 commit 53fe0c7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions exchanges/okx/okx_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5750,8 +5750,10 @@ func (ok *Okx) instrumentFamilyFromInstID(instrumentType, instID string) (string
}
return "", fmt.Errorf("instrument family not found for instrument %s", instID)
}

func TestGenerateSubscriptions(t *testing.T) {
t.Parallel()

ok.Websocket.SetCanUseAuthenticatedEndpoints(true)
subs, err := ok.generateSubscriptions()
require.NoError(t, err, "generateSubscriptions must not error")
Expand Down

0 comments on commit 53fe0c7

Please sign in to comment.