summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--changelog.d/7243.misc1
-rw-r--r--tests/rest/client/v1/test_events.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/7243.misc b/changelog.d/7243.misc
new file mode 100644
index 0000000000..a39c257a54
--- /dev/null
+++ b/changelog.d/7243.misc
@@ -0,0 +1 @@
+Correct the parameters of a test fixture. Contributed by Isaiah Singletary.
diff --git a/tests/rest/client/v1/test_events.py b/tests/rest/client/v1/test_events.py
index ffb2de1505..b54b06482b 100644
--- a/tests/rest/client/v1/test_events.py
+++ b/tests/rest/client/v1/test_events.py
@@ -50,7 +50,7 @@ class EventStreamPermissionsTestCase(unittest.HomeserverTestCase):
 
         return hs
 
-    def prepare(self, hs, reactor, clock):
+    def prepare(self, reactor, clock, hs):
 
         # register an account
         self.user_id = self.register_user("sid1", "pass")