summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-09-03 19:13:29 +0100
committerErik Johnston <erik@matrix.org>2014-09-03 19:13:29 +0100
commit34a7f0ca937f274cc4a122b6ae4594783177a983 (patch)
tree27a3374fc75076b6129cb35ef37e15fc947b59ec /tests
parentDon't do auth for change_membership in federation handler, it doesn't work an... (diff)
downloadsynapse-34a7f0ca937f274cc4a122b6ae4594783177a983.tar.xz
Fix test to assert that we don't do auth
Diffstat (limited to 'tests')
-rw-r--r--tests/handlers/test_federation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/handlers/test_federation.py b/tests/handlers/test_federation.py
index 7c4921e226..6fc3d8f7fd 100644
--- a/tests/handlers/test_federation.py
+++ b/tests/handlers/test_federation.py
@@ -105,7 +105,7 @@ class FederationTestCase(unittest.TestCase):
             lambda event, do_auth: None,
             mem_handler.change_membership
         )
-        self.assertEquals(True, call_args["do_auth"])
+        self.assertEquals(False, call_args["do_auth"])
 
         new_event = call_args["event"]
         self.assertEquals(RoomMemberEvent.TYPE, new_event.type)