summary refs log tree commit diff
path: root/tests/handlers
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2020-10-02 18:10:55 +0100
committerRichard van der Hoff <richard@matrix.org>2020-10-05 19:04:10 +0100
commite775b5bb5bb2b9e42607f9514ae2e270270a8932 (patch)
treeeb1c574616f47699b3cd7b534e84edd8de694e9d /tests/handlers
parentpull up event.sender assertion (diff)
downloadsynapse-e775b5bb5bb2b9e42607f9514ae2e270270a8932.tar.xz
kill off `send_nonmember_event`
This is now redundant, and we can just call `handle_new_client_event` directly.
Diffstat (limited to 'tests/handlers')
-rw-r--r--tests/handlers/test_register.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/handlers/test_register.py b/tests/handlers/test_register.py
index cb7c0ed51a..702c6aa089 100644
--- a/tests/handlers/test_register.py
+++ b/tests/handlers/test_register.py
@@ -413,7 +413,7 @@ class RegistrationTestCase(unittest.HomeserverTestCase):
             )
         )
         self.get_success(
-            event_creation_handler.send_nonmember_event(requester, event, context)
+            event_creation_handler.handle_new_client_event(requester, event, context)
         )
 
         # Register a second user, which won't be be in the room (or even have an invite)