summary refs log tree commit diff
path: root/tests/rest
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-08-19 15:52:20 +0100
committerErik Johnston <erik@matrix.org>2014-08-19 15:52:20 +0100
commit41333452e53f72a0f1c9f63fd8c46117d70eea3a (patch)
tree17be31817e1320c9f061a4a86b75c72c6673da51 /tests/rest
parentDefault from param to 'END' (diff)
downloadsynapse-41333452e53f72a0f1c9f63fd8c46117d70eea3a.tar.xz
Update tests
Diffstat (limited to 'tests/rest')
-rw-r--r--tests/rest/test_presence.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/tests/rest/test_presence.py b/tests/rest/test_presence.py
index 0ba72addf6..8ac246b4d5 100644
--- a/tests/rest/test_presence.py
+++ b/tests/rest/test_presence.py
@@ -287,14 +287,7 @@ class PresenceEventStreamTestCase(unittest.TestCase):
         # all be ours
 
         # I'll already get my own presence state change
-        self.assertEquals({"start": "0", "end": "1", "chunk": [
-            {"type": "m.presence",
-             "content": {
-                 "user_id": "@apple:test",
-                 "state": ONLINE,
-                 "mtime_age": 0,
-            }},
-        ]}, response)
+        self.assertEquals({"start": "1", "end": "1", "chunk": []}, response)
 
         self.mock_datastore.set_presence_state.return_value = defer.succeed(
                 {"state": ONLINE})