summary refs log tree commit diff
path: root/tests/utils.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-01-24 09:28:16 +0000
committerErik Johnston <erik@matrix.org>2019-01-25 10:32:26 +0000
commit9770ed91c223051d940f773e0b1fa2746003eb4e (patch)
tree4e2950e8e8ed98f64c59a7a861cef2a738380bb9 /tests/utils.py
parentRequire event format version to parse or create events (diff)
downloadsynapse-9770ed91c223051d940f773e0b1fa2746003eb4e.tar.xz
Fix tests
Diffstat (limited to 'tests/utils.py')
-rw-r--r--tests/utils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/utils.py b/tests/utils.py
index df73c539c3..2dfcb70a93 100644
--- a/tests/utils.py
+++ b/tests/utils.py
@@ -26,7 +26,7 @@ from six.moves.urllib import parse as urlparse
 
 from twisted.internet import defer, reactor
 
-from synapse.api.constants import EventTypes
+from synapse.api.constants import EventTypes, RoomVersions
 from synapse.api.errors import CodeMessageException, cs_error
 from synapse.config.server import ServerConfig
 from synapse.federation.transport import server
@@ -624,6 +624,7 @@ def create_room(hs, room_id, creator_id):
     event_creation_handler = hs.get_event_creation_handler()
 
     builder = event_builder_factory.new(
+        RoomVersions.V1,
         {
             "type": EventTypes.Create,
             "state_key": "",