summary refs log tree commit diff
path: root/tests/push/test_email.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/push/test_email.py')
-rw-r--r--tests/push/test_email.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/push/test_email.py b/tests/push/test_email.py
index 5faf66e0ff..c7d317d978 100644
--- a/tests/push/test_email.py
+++ b/tests/push/test_email.py
@@ -367,7 +367,7 @@ class EmailPusherTests(HomeserverTestCase):
 
         # disassociate the user's email address
         self.get_success(
-            self.auth_handler.delete_and_unbind_threepid(
+            self.auth_handler.delete_local_threepid(
                 user_id=self.user_id, medium="email", address="a@example.com"
             )
         )