aboutsummaryrefslogtreecommitdiff
path: root/userapi/consumers/roomserver_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'userapi/consumers/roomserver_test.go')
-rw-r--r--userapi/consumers/roomserver_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/userapi/consumers/roomserver_test.go b/userapi/consumers/roomserver_test.go
index 0a24c4f4..53977206 100644
--- a/userapi/consumers/roomserver_test.go
+++ b/userapi/consumers/roomserver_test.go
@@ -41,7 +41,7 @@ func mustCreateEvent(t *testing.T, content string) *types.HeaderedEvent {
if err != nil {
t.Fatalf("failed to create event: %v", err)
}
- return &types.HeaderedEvent{Event: ev}
+ return &types.HeaderedEvent{PDU: ev}
}
func Test_evaluatePushRules(t *testing.T) {