Skip to content

Commit

Permalink
Kraken: Add missing reqIDs to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gbjk committed Sep 29, 2023
1 parent 345751c commit ee1a6d3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions exchanges/kraken/kraken_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1454,6 +1454,7 @@ func TestWsSystemStatus(t *testing.T) {
func TestWsSubscriptionStatus(t *testing.T) {
t.Parallel()
pressXToJSON := []byte(`{
"reqID": 1007,
"channelID": 10001,
"channelName": "ticker",
"event": "subscriptionStatus",
Expand All @@ -1469,6 +1470,7 @@ func TestWsSubscriptionStatus(t *testing.T) {
}

pressXToJSON = []byte(`{
"reqID": 1008,
"channelID": 10001,
"channelName": "ohlc-5",
"event": "subscriptionStatus",
Expand All @@ -1486,6 +1488,7 @@ func TestWsSubscriptionStatus(t *testing.T) {
}

pressXToJSON = []byte(`{
"reqID": 1009,
"channelName": "ownTrades",
"event": "subscriptionStatus",
"status": "subscribed",
Expand All @@ -1498,6 +1501,7 @@ func TestWsSubscriptionStatus(t *testing.T) {
t.Error(err)
}
pressXToJSON = []byte(`{
"reqID": 1010,
"errorMessage": "Subscription depth not supported",
"event": "subscriptionStatus",
"pair": "XBT/USD",
Expand Down

0 comments on commit ee1a6d3

Please sign in to comment.