summary refs log tree commit diff
path: root/tests/handlers
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2020-05-15 09:30:10 -0400
committerGitHub <noreply@github.com>2020-05-15 09:30:10 -0400
commit08bc80ef096497ca8197657c98a3a710623b3135 (patch)
tree365eb0af70a6d53fd4c89e486157554299faa1f7 /tests/handlers
parentIgnore incoming presence updates when presence is disabled (#7508) (diff)
downloadsynapse-08bc80ef096497ca8197657c98a3a710623b3135.tar.xz
Implement room version 6 (MSC2240). (#7506)
Diffstat (limited to 'tests/handlers')
-rw-r--r--tests/handlers/test_federation.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/handlers/test_federation.py b/tests/handlers/test_federation.py
index dfef58e704..96fea58673 100644
--- a/tests/handlers/test_federation.py
+++ b/tests/handlers/test_federation.py
@@ -226,7 +226,7 @@ class EventFromPduTestCase(TestCase):
                 "auth_events": [],
                 "origin_server_ts": 1234,
             },
-            RoomVersions.STRICT_CANONICALJSON,
+            RoomVersions.V6,
         )
 
         self.assertIsInstance(ev, EventBase)
@@ -253,7 +253,7 @@ class EventFromPduTestCase(TestCase):
                         "auth_events": [],
                         "origin_server_ts": 1234,
                     },
-                    RoomVersions.STRICT_CANONICALJSON,
+                    RoomVersions.V6,
                 )
 
     def test_invalid_nested(self):
@@ -270,5 +270,5 @@ class EventFromPduTestCase(TestCase):
                     "auth_events": [],
                     "origin_server_ts": 1234,
                 },
-                RoomVersions.STRICT_CANONICALJSON,
+                RoomVersions.V6,
             )