Skip to content

Commit aa2011c

Browse files
committed
test: Match destination & alert destination
1 parent ae7d331 commit aa2011c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/deliverymq/messagehandler_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1251,7 +1251,7 @@ func assertAlertMonitor(t *testing.T, m *mockAlertMonitor, success bool, destina
12511251
attempt := lastCall.Arguments[1].(alert.DeliveryAttempt)
12521252

12531253
assert.Equal(t, success, attempt.Success, "alert attempt success should match")
1254-
assert.Equal(t, destination, attempt.Destination, "alert attempt destination should match")
1254+
assert.Equal(t, destination.ID, attempt.Destination.ID, "alert attempt destination should match")
12551255
assert.NotNil(t, attempt.DeliveryEvent, "alert attempt should have delivery event")
12561256

12571257
if expectedData != nil {

0 commit comments

Comments
 (0)