Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
H-Shay committed Jan 3, 2025
1 parent 7345528 commit 46d5240
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/rest/admin/test_room.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
"""
Expand Down

0 comments on commit 46d5240

Please sign in to comment.