mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-14 11:57:44 +00:00
Don't expect a reflection from events stream
This commit is contained in:
parent
41333452e5
commit
cc48e920d6
1 changed files with 1 additions and 3 deletions
|
@ -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 a new issue