Fix wrong room being referenced

This commit is contained in:
Eric Eastwood 2024-09-17 23:59:58 -05:00
parent b5a96b7a42
commit 45200315da
1 changed files with 3 additions and 1 deletions

View File

@ -1020,7 +1020,9 @@ class SlidingSyncTestCase(SlidingSyncBase):
# Make the Sliding Sync request # Make the Sliding Sync request
response_body, from_token = self.do_sync(sync_body, tok=user1_tok) response_body, from_token = self.do_sync(sync_body, tok=user1_tok)
# Make sure we see room1 # Make sure we see room1
self.assertIncludes(set(response_body["rooms"].keys()), {room_id1}, exact=True) self.assertIncludes(
set(response_body["rooms"].keys()), {space_room_id}, exact=True
)
self.assertEqual(response_body["rooms"][space_room_id]["initial"], True) self.assertEqual(response_body["rooms"][space_room_id]["initial"], True)
# Trigger a state reset # Trigger a state reset