summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2016-01-04 14:17:35 +0000
committerDavid Baker <dave@matrix.org>2016-01-04 14:17:35 +0000
commit92a1e74b202757b0f4b577ccbd3e31d8dd4d6460 (patch)
treee8b8011719b5ad043a991ad94afaa143370903d8
parentRename event-actions to event_push_actions as per PR request (diff)
downloadsynapse-92a1e74b202757b0f4b577ccbd3e31d8dd4d6460.tar.xz
fix tests
-rw-r--r--tests/handlers/test_federation.py2
-rw-r--r--tests/handlers/test_room.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/handlers/test_federation.py b/tests/handlers/test_federation.py
index a4758c03db..6acc4ebadc 100644
--- a/tests/handlers/test_federation.py
+++ b/tests/handlers/test_federation.py
@@ -52,7 +52,7 @@ class FederationTestCase(unittest.TestCase):
                 "get_users_in_room",
                 "bulk_get_push_rules",
                 "get_current_state",
-                "set_actions_for_event_and_users",
+                "set_push_actions_for_event_and_users",
             ]),
             resource_for_federation=NonCallableMock(),
             http_client=NonCallableMock(spec_set=[]),
diff --git a/tests/handlers/test_room.py b/tests/handlers/test_room.py
index ba20b31945..ff2b597124 100644
--- a/tests/handlers/test_room.py
+++ b/tests/handlers/test_room.py
@@ -46,7 +46,7 @@ class RoomMemberHandlerTestCase(unittest.TestCase):
                 "get_users_in_room",
                 "bulk_get_push_rules",
                 "get_current_state",
-                "set_actions_for_event_and_users",
+                "set_push_actions_for_event_and_users",
             ]),
             resource_for_federation=NonCallableMock(),
             http_client=NonCallableMock(spec_set=[]),