Merge "registration: Only allow one extension to set a specific config setting"
[lhc/web/wiklou.git] / tests / phpunit / includes / user / PasswordResetTest.php
index feae26a..68b7959 100644 (file)
@@ -152,7 +152,7 @@ class PasswordResetTest extends MediaWikiTestCase {
 
                // Unregister the hooks for proper unit testing
                $this->mergeMwGlobalArrayValue( 'wgHooks', [
-                       'mailPasswordInternal' => [],
+                       'User::mailPasswordInternal' => [],
                        'SpecialPasswordResetOnSubmit' => [],
                ] );