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-09-19 10:11:14 -0700
commit86d135ac639ad451f8ece43c7530f7c77d4df98f (patch)
treeb9629cf3ef3ee46100dd4dd2b35506f442a4e55b
parentadd function to calculate event context without pulling from db (diff)
downloadsynapse-86d135ac639ad451f8ece43c7530f7c77d4df98f.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 91ac94fbce..e281aef779 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