summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorH. Shay <hillerys@element.io>2022-11-04 12:03:46 -0700
committerH. Shay <hillerys@element.io>2022-11-04 12:03:46 -0700
commit1ba3c5e15af398b219f521b04c84c030506a9409 (patch)
treefff1a384e71cd0217f7cba1c8c71657fd12e34f1 /tests
parentfix bug (diff)
downloadsynapse-1ba3c5e15af398b219f521b04c84c030506a9409.tar.xz
misc cleanup
Diffstat (limited to 'tests')
-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 6042cc714b..d45f9f5e43 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(32, channel.resource_usage.db_txn_count)
+        self.assertEqual(30, 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(34, channel.resource_usage.db_txn_count)
+        self.assertEqual(30, channel.resource_usage.db_txn_count)
 
     def test_post_room_visibility_key(self) -> None:
         # POST with visibility config key, expect new room id