Skip to content

Commit

Permalink
test: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
mherwig committed Dec 19, 2024
1 parent b954fe5 commit fa3e3c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/listener/listener_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ func TestSubscriptionListener_OnDelete(t *testing.T) {
listener := &SubscriptionListener{}
listener.OnDelete(event)

assert.False(t, cache.GetCancelStatus(subscriptionId))
assert.True(t, cache.GetCancelStatus(subscriptionId))

republishMockMap.AssertCalled(t, "Get", mock.Anything, subscriptionId)
republishMockMap.AssertCalled(t, "Delete", mock.Anything, subscriptionId)
Expand Down

0 comments on commit fa3e3c6

Please sign in to comment.