Skip to content

Commit

Permalink
fix: switch back to use GetSubscriptionWithPubsubTopic
Browse files Browse the repository at this point in the history
  • Loading branch information
romanzac committed Mar 21, 2024
1 parent c0e44b6 commit 77f1f59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions waku/v2/node/wakunode2_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -356,9 +356,9 @@ func TestStaticShardingMultipleTopics(t *testing.T) {
require.True(t, r.IsSubscribed(pubSubTopic1Str))
require.True(t, r.IsSubscribed(pubSubTopic2Str))

s1, err := r.GetSubscription(contentTopic1)
s1, err := r.GetSubscriptionWithPubsubTopic(pubSubTopic1Str, contentTopic1)
require.NoError(t, err)
s2, err := r.GetSubscription(contentTopic2)
s2, err := r.GetSubscriptionWithPubsubTopic(pubSubTopic2Str, contentTopic2)
require.NoError(t, err)
require.Equal(t, s1.ID, subs1[0].ID)
require.Equal(t, s2.ID, subs2[0].ID)
Expand Down

0 comments on commit 77f1f59

Please sign in to comment.