aboutsummaryrefslogtreecommitdiff
path: root/internal/transactionrequest_test.go
diff options
context:
space:
mode:
authorkegsay <kegan@matrix.org>2023-04-20 19:07:31 +0100
committerGitHub <noreply@github.com>2023-04-20 19:07:31 +0100
commit71eeccf34a2ea4434c315c19778d80a7b2469270 (patch)
treee6d5bd8f91a9a90b2b076f842c183bae332c6311 /internal/transactionrequest_test.go
parent72285b2659a31ebd52c91799c17105d81d996f40 (diff)
refactor: funnel event creation through room versions (#3060)
In preparation of interfacing up the room version value.
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 b539e1a5..e178e0a4 100644
--- a/internal/transactionrequest_test.go
+++ b/internal/transactionrequest_test.go
@@ -633,7 +633,7 @@ func TestProcessTransactionRequestEDUUnhandled(t *testing.T) {
func init() {
for _, j := range testData {
- e, err := gomatrixserverlib.NewEventFromTrustedJSON(j, false, testRoomVersion)
+ e, err := testRoomVersion.NewEventFromTrustedJSON(j, false)
if err != nil {
panic("cannot load test data: " + err.Error())
}