mirror of
https://github.com/matrix-org/synapse.git
synced 2026-05-14 00:46:27 +02:00
fix presence tests
This commit is contained in:
parent
d0ffa56271
commit
12545a80e7
@ -990,8 +990,9 @@ class RoomInitialSyncTestCase(RestTestCase):
|
||||
presence_by_user = {
|
||||
e["content"]["user_id"]: e for e in response["presence"]
|
||||
}
|
||||
self.assertTrue(self.user_id in presence_by_user)
|
||||
self.assertEquals("m.presence", presence_by_user[self.user_id]["type"])
|
||||
# presence is turned off on hotfixes
|
||||
# self.assertTrue(self.user_id in presence_by_user)
|
||||
# self.assertEquals("m.presence", presence_by_user[self.user_id]["type"])
|
||||
|
||||
|
||||
class RoomMessageListTestCase(RestTestCase):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user