diff options
author | Erik Johnston <erik@matrix.org> | 2019-01-24 09:28:16 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2019-01-24 09:28:16 +0000 |
commit | e79ba9eb34697cb6205c50282882b294c0acafa7 (patch) | |
tree | d0ff51cd2df3e1cd72b9485b841ab64c18bd223a /tests/utils.py | |
parent | Newsfile (diff) | |
download | synapse-e79ba9eb34697cb6205c50282882b294c0acafa7.tar.xz |
Fix tests
Diffstat (limited to 'tests/utils.py')
-rw-r--r-- | tests/utils.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/utils.py b/tests/utils.py index 08d6faa0a6..1aa8f98094 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 @@ -622,6 +622,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": "", |