summary refs log tree commit diff
path: root/tests/rest/client/v1/test_rooms.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-02-18 10:46:16 +0000
committerErik Johnston <erik@matrix.org>2016-02-18 10:46:16 +0000
commit9da9826b858bc4fdaf6c6f7f8382043ce151cdf3 (patch)
treeee433ad380cd8b09485cccb10b4c9a3c4e97b361 /tests/rest/client/v1/test_rooms.py
parentAdd stuff pulled from the DB to the cache (diff)
downloadsynapse-9da9826b858bc4fdaf6c6f7f8382043ce151cdf3.tar.xz
Remove old tests.
Diffstat (limited to 'tests/rest/client/v1/test_rooms.py')
-rw-r--r--tests/rest/client/v1/test_rooms.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/rest/client/v1/test_rooms.py b/tests/rest/client/v1/test_rooms.py
index ad5dd3bd6e..a90b9dc3d8 100644
--- a/tests/rest/client/v1/test_rooms.py
+++ b/tests/rest/client/v1/test_rooms.py
@@ -953,12 +953,6 @@ class RoomInitialSyncTestCase(RestTestCase):
 
         synapse.rest.client.v1.room.register_servlets(hs, self.mock_resource)
 
-        # Since I'm getting my own presence I need to exist as far as presence
-        # is concerned.
-        hs.get_handlers().presence_handler.registered_user(
-            UserID.from_string(self.user_id)
-        )
-
         # create the room
         self.room_id = yield self.create_room_as(self.user_id)