diff --git a/tests/rest/client/test_third_party_rules.py b/tests/rest/client/test_third_party_rules.py index 355024ff81a0..753ecc8d161a 100644 --- a/tests/rest/client/test_third_party_rules.py +++ b/tests/rest/client/test_third_party_rules.py @@ -1011,7 +1011,7 @@ def test_on_remove_user_third_party_identifier_is_called_on_deactivate( ) third_party_rules = self.hs.get_third_party_event_rules() third_party_rules.register_third_party_rules_callbacks( - on_threepid_bind=on_remove_user_third_party_identifier_callback_mock, + on_remove_user_third_party_identifier=on_remove_user_third_party_identifier_callback_mock, ) # Register an admin user.