From 46d5240f8e375893db60c413b37f34073ad871e6 Mon Sep 17 00:00:00 2001 From: "H. Shay" Date: Fri, 3 Jan 2025 10:02:54 -0800 Subject: [PATCH] update test --- tests/rest/admin/test_room.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/rest/admin/test_room.py b/tests/rest/admin/test_room.py index cb7f60e1379..afd0f7def6e 100644 --- a/tests/rest/admin/test_room.py +++ b/tests/rest/admin/test_room.py @@ -2058,12 +2058,12 @@ def test_room_state_param_empty(self) -> None: channel = self.make_request( "GET", - f"/_synapse/admin/v1/rooms/{room_id}/state?type=''", + f"/_synapse/admin/v1/rooms/{room_id}/state?type=", access_token=self.admin_user_tok, ) self.assertEqual(200, channel.code) state = channel.json_body["state"] - self.assertEqual(0, len(state)) + self.assertEqual(5, len(state)) def test_room_state_param_not_in_room(self) -> None: """