summary refs log tree commit diff
diff options
context:
space:
mode:
authorH. Shay <hillerys@element.io>2022-08-24 14:08:47 -0700
committerH. Shay <hillerys@element.io>2022-08-24 14:08:47 -0700
commitb38f3e92179a5c8fbc8661b363e000724e99d18a (patch)
treeb0783c52977ea9cc4f340df12f36c623cd80d320
parentadd function to calculate event context without pulling from db (diff)
downloadsynapse-b38f3e92179a5c8fbc8661b363e000724e99d18a.tar.xz
fix test to align with new behaviour
-rw-r--r--tests/rest/client/test_rooms.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rest/client/test_rooms.py b/tests/rest/client/test_rooms.py
index 7d551c3810..6f864d6044 100644
--- a/tests/rest/client/test_rooms.py
+++ b/tests/rest/client/test_rooms.py
@@ -710,7 +710,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(36, channel.resource_usage.db_txn_count)
+        self.assertEqual(35, channel.resource_usage.db_txn_count)
 
     def test_post_room_initial_state(self) -> None:
         # POST with initial_state config key, expect new room id