Fix wrong room being referenced
This commit is contained in:
parent
b5a96b7a42
commit
45200315da
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue