summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-08-19 15:54:07 +0100
committerErik Johnston <erik@matrix.org>2014-08-19 15:54:07 +0100
commitcc48e920d6df00000e569cf4caf508cd9ea3268b (patch)
treec81982a99af40e6784bdfd38294e7fc5e6e00e2a
parentUpdate tests (diff)
downloadsynapse-cc48e920d6df00000e569cf4caf508cd9ea3268b.tar.xz
Don't expect a reflection from events stream
-rw-r--r--tests/rest/test_events.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/rest/test_events.py b/tests/rest/test_events.py
index 1ab92395f2..4025e14581 100644
--- a/tests/rest/test_events.py
+++ b/tests/rest/test_events.py
@@ -190,9 +190,7 @@ class EventStreamPermissionsTestCase(RestTestCase):
                            "/events?access_token=%s&timeout=0" % (self.token))
         self.assertEquals(200, code, msg=str(response))
 
-        # First message is a reflection of my own presence status change
-        self.assertEquals(1, len(response["chunk"]))
-        self.assertEquals("m.presence", response["chunk"][0]["type"])
+        self.assertEquals(0, len(response["chunk"]))
 
         # joined room (expect all content for room)
         yield self.join(room=room_id, user=self.user_id, tok=self.token)