aboutsummaryrefslogtreecommitdiff
path: root/userapi/util/notify_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'userapi/util/notify_test.go')
-rw-r--r--userapi/util/notify_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/userapi/util/notify_test.go b/userapi/util/notify_test.go
index d6cbad7d..e1c88d47 100644
--- a/userapi/util/notify_test.go
+++ b/userapi/util/notify_test.go
@@ -100,7 +100,7 @@ func TestNotifyUserCountsAsync(t *testing.T) {
// Insert a dummy event
if err := db.InsertNotification(ctx, aliceLocalpart, serverName, dummyEvent.EventID(), 0, nil, &api.Notification{
- Event: synctypes.HeaderedToClientEvent(dummyEvent, synctypes.FormatAll),
+ Event: synctypes.ToClientEvent(dummyEvent, synctypes.FormatAll),
}); err != nil {
t.Error(err)
}