diff options
author | Richard van der Hoff <richard@matrix.org> | 2020-01-31 10:06:21 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2020-01-31 10:06:21 +0000 |
commit | d7bf793cc1e3f5268285286341835ac54753eff6 (patch) | |
tree | 8554590b143b95f83c4a60f89a8bbbf334e3c636 /tests/unittest.py | |
parent | pass room version into FederationHandler.on_invite_request (#6805) (diff) | |
download | synapse-d7bf793cc1e3f5268285286341835ac54753eff6.tar.xz |
s/get_room_version/get_room_version_id/
... to make way for a forthcoming get_room_version which returns a RoomVersion object.
Diffstat (limited to 'tests/unittest.py')
-rw-r--r-- | tests/unittest.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/unittest.py b/tests/unittest.py index b56e249386..98bf27d39c 100644 --- a/tests/unittest.py +++ b/tests/unittest.py @@ -589,7 +589,9 @@ class HomeserverTestCase(TestCase): event_builder_factory = self.hs.get_event_builder_factory() event_creation_handler = self.hs.get_event_creation_handler() - room_version = self.get_success(self.hs.get_datastore().get_room_version(room)) + room_version = self.get_success( + self.hs.get_datastore().get_room_version_id(room) + ) builder = event_builder_factory.for_room_version( KNOWN_ROOM_VERSIONS[room_version], |