aboutsummaryrefslogtreecommitdiff
path: root/internal/transactionrequest_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/transactionrequest_test.go')
-rw-r--r--internal/transactionrequest_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/transactionrequest_test.go b/internal/transactionrequest_test.go
index 94901088..c884ebfc 100644
--- a/internal/transactionrequest_test.go
+++ b/internal/transactionrequest_test.go
@@ -636,7 +636,7 @@ func init() {
if err != nil {
panic("cannot load test data: " + err.Error())
}
- h := &rstypes.HeaderedEvent{Event: e}
+ h := &rstypes.HeaderedEvent{PDU: e}
testEvents = append(testEvents, h)
if e.StateKey() != nil {
testStateEvents[gomatrixserverlib.StateKeyTuple{