Skip to content

Commit

Permalink
Rebase me down to the binance changes
Browse files Browse the repository at this point in the history
  • Loading branch information
gbjk committed Nov 3, 2023
1 parent c861e74 commit e7cf1b9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions exchanges/binance/binance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"github.com/thrasher-corp/gocryptotrader/exchanges/margin"
"github.com/thrasher-corp/gocryptotrader/exchanges/order"
"github.com/thrasher-corp/gocryptotrader/exchanges/sharedtestvalues"
"github.com/thrasher-corp/gocryptotrader/exchanges/stream"
"github.com/thrasher-corp/gocryptotrader/exchanges/subscription"
"github.com/thrasher-corp/gocryptotrader/portfolio/withdraw"
)

Expand Down Expand Up @@ -2429,13 +2429,13 @@ func TestGenerateSubscriptions(t *testing.T) {
t.Parallel()
subs, err := b.GenerateSubscriptions()
assert.NoError(t, err, "GenerateSubscriptions should not error")
expected := []stream.ChannelSubscription{}
expected := []subscription.Subscription{}
for _, a := range b.GetAssetTypes(true) {
pairs, err := b.GetEnabledPairs(a)
assert.NoError(t, err, "GetEnabledPairs should not error")
for _, p := range pairs {
for _, c := range []string{"kline_1m", "depth@100ms", "ticker", "trade"} {
expected = append(expected, stream.ChannelSubscription{
expected = append(expected, subscription.Subscription{
Channel: p.Format(currency.PairFormat{Delimiter: "", Uppercase: false}).String() + "@" + c,
Currency: p,
Asset: a,
Expand Down

0 comments on commit e7cf1b9

Please sign in to comment.