mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
Don't expect a reflection from events stream
This commit is contained in:
parent
41333452e5
commit
cc48e920d6
@ -190,9 +190,7 @@ class EventStreamPermissionsTestCase(RestTestCase):
|
|||||||
"/events?access_token=%s&timeout=0" % (self.token))
|
"/events?access_token=%s&timeout=0" % (self.token))
|
||||||
self.assertEquals(200, code, msg=str(response))
|
self.assertEquals(200, code, msg=str(response))
|
||||||
|
|
||||||
# First message is a reflection of my own presence status change
|
self.assertEquals(0, len(response["chunk"]))
|
||||||
self.assertEquals(1, len(response["chunk"]))
|
|
||||||
self.assertEquals("m.presence", response["chunk"][0]["type"])
|
|
||||||
|
|
||||||
# joined room (expect all content for room)
|
# joined room (expect all content for room)
|
||||||
yield self.join(room=room_id, user=self.user_id, tok=self.token)
|
yield self.join(room=room_id, user=self.user_id, tok=self.token)
|
||||||
|
Loading…
Reference in New Issue
Block a user