Index: ios/chrome/browser/passwords/password_controller_unittest.mm |
diff --git a/ios/chrome/browser/passwords/password_controller_unittest.mm b/ios/chrome/browser/passwords/password_controller_unittest.mm |
index 470b1a66f326713cc24ca613291ce34343d554ed..7e454731d4210abc316efeac06f8e884ac9563b0 100644 |
--- a/ios/chrome/browser/passwords/password_controller_unittest.mm |
+++ b/ios/chrome/browser/passwords/password_controller_unittest.mm |
@@ -211,7 +211,7 @@ class PasswordControllerTest : public web::WebTestWithWebState { |
__block int failure_count = 0; |
void (^fail_invocation)(NSInvocation*) = ^(NSInvocation* invocation) { |
if (failure_count >= target_failure_count) { |
- [failing_manager stop]; |
+ [failing_manager stopMocking]; |
[invocation invokeWithTarget:original_manager]; |
} else { |
++failure_count; |