diff options
author | Erik Johnston <erikj@jki.re> | 2019-01-25 10:26:13 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-25 10:26:13 +0000 |
commit | 829a7b20325aa35ecca11624baf68ebdb247e123 (patch) | |
tree | 08902e6b1564b865a5b21194c844d85a693ef095 /tests/utils.py | |
parent | Merge pull request #4451 from matrix-org/erikj/require_format_version (diff) | |
parent | Revert "Require event format version to parse or create events" (diff) | |
download | synapse-829a7b20325aa35ecca11624baf68ebdb247e123.tar.xz |
Merge pull request #4469 from matrix-org/revert-4451-erikj/require_format_version
Revert "Require event format version to parse or create events"
Diffstat (limited to 'tests/utils.py')
-rw-r--r-- | tests/utils.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/utils.py b/tests/utils.py index 2dfcb70a93..df73c539c3 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, RoomVersions +from synapse.api.constants import EventTypes from synapse.api.errors import CodeMessageException, cs_error from synapse.config.server import ServerConfig from synapse.federation.transport import server @@ -624,7 +624,6 @@ 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": "", |