summary refs log tree commit diff
path: root/tests/rest/test_events.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rest/test_events.py')
-rw-r--r--tests/rest/test_events.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rest/test_events.py b/tests/rest/test_events.py
index cb641e0232..116acd5600 100644
--- a/tests/rest/test_events.py
+++ b/tests/rest/test_events.py
@@ -182,7 +182,7 @@ class EventStreamPermissionsTestCase(RestTestCase):
         room_id = "!rid1:test"
         yield self.create_room_as(room_id, self.other_user,
                                   tok=self.other_token)
-        yield self.send(room_id, self.other_user, tok=self.other_token)
+        yield self.send(room_id, tok=self.other_token)
 
         # invited to room (expect no content for room)
         yield self.invite(room_id, src=self.other_user, targ=self.user_id,