diff options
author | Erik Johnston <erik@matrix.org> | 2020-01-27 14:30:57 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-27 14:30:57 +0000 |
commit | 8df862e45d9848c226399c8e39d31497461516ff (patch) | |
tree | a60d7a879433a926350ec2850681ef83b5842b9b /tests/storage/test_state.py | |
parent | Propagate cache invalidates from workers to other workers. (#6748) (diff) | |
download | synapse-8df862e45d9848c226399c8e39d31497461516ff.tar.xz |
Add `rooms.room_version` column (#6729)
This is so that we don't have to rely on pulling it out from `current_state_events` table.
Diffstat (limited to 'tests/storage/test_state.py')
-rw-r--r-- | tests/storage/test_state.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/storage/test_state.py b/tests/storage/test_state.py index d6ecf102f8..04d58fbf24 100644 --- a/tests/storage/test_state.py +++ b/tests/storage/test_state.py @@ -45,7 +45,10 @@ class StateStoreTestCase(tests.unittest.TestCase): self.room = RoomID.from_string("!abc123:test") yield self.store.store_room( - self.room.to_string(), room_creator_user_id="@creator:text", is_public=True + self.room.to_string(), + room_creator_user_id="@creator:text", + is_public=True, + room_version=RoomVersions.V1, ) @defer.inlineCallbacks |