diff options
Diffstat (limited to 'userapi/util/notify_test.go')
-rw-r--r-- | userapi/util/notify_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/userapi/util/notify_test.go b/userapi/util/notify_test.go index 27dd373c..3017069b 100644 --- a/userapi/util/notify_test.go +++ b/userapi/util/notify_test.go @@ -104,8 +104,9 @@ func TestNotifyUserCountsAsync(t *testing.T) { if err != nil { t.Error(err) } + sk := "" if err := db.InsertNotification(ctx, aliceLocalpart, serverName, dummyEvent.EventID(), 0, nil, &api.Notification{ - Event: synctypes.ToClientEvent(dummyEvent, synctypes.FormatAll, *sender), + Event: synctypes.ToClientEvent(dummyEvent, synctypes.FormatAll, *sender, &sk), }); err != nil { t.Error(err) } |