summary refs log tree commit diff
path: root/tests/rest/client
diff options
context:
space:
mode:
authorShay <hillerys@element.io>2022-11-07 13:38:50 -0800
committerGitHub <noreply@github.com>2022-11-07 13:38:50 -0800
commit7894251bcea7714b47e3849e509ea717bb18e9f5 (patch)
tree60175fc831438fe3d78a573716684e534861660d /tests/rest/client
parentFix background update table-scanning `events` (#14374) (diff)
downloadsynapse-7894251bcea7714b47e3849e509ea717bb18e9f5.tar.xz
Correctly create power level event during initial room creation (#14361)
Diffstat (limited to 'tests/rest/client')
-rw-r--r--tests/rest/client/test_rooms.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rest/client/test_rooms.py b/tests/rest/client/test_rooms.py
index 1084d4ad9d..e919e089cb 100644
--- a/tests/rest/client/test_rooms.py
+++ b/tests/rest/client/test_rooms.py
@@ -715,7 +715,7 @@ class RoomsCreateTestCase(RoomBase):
         self.assertEqual(HTTPStatus.OK, channel.code, channel.result)
         self.assertTrue("room_id" in channel.json_body)
         assert channel.resource_usage is not None
-        self.assertEqual(34, channel.resource_usage.db_txn_count)
+        self.assertEqual(33, channel.resource_usage.db_txn_count)
 
     def test_post_room_initial_state(self) -> None:
         # POST with initial_state config key, expect new room id
@@ -728,7 +728,7 @@ class RoomsCreateTestCase(RoomBase):
         self.assertEqual(HTTPStatus.OK, channel.code, channel.result)
         self.assertTrue("room_id" in channel.json_body)
         assert channel.resource_usage is not None
-        self.assertEqual(37, channel.resource_usage.db_txn_count)
+        self.assertEqual(36, channel.resource_usage.db_txn_count)
 
     def test_post_room_visibility_key(self) -> None:
         # POST with visibility config key, expect new room id