X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fcommon%2FTestSetup.php;h=e24c4c544253c0520ac2a790a05b36bb31d66d33;hb=b7131c89e9ad0d69beb5373df794e3d63e3c5cb6;hp=2feb4388350e199ff15834f23b8a858405a880ee;hpb=52a4ffbf42c22af74e5883578cd503979781a5cb;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/common/TestSetup.php b/tests/common/TestSetup.php index 2feb438835..e24c4c5442 100644 --- a/tests/common/TestSetup.php +++ b/tests/common/TestSetup.php @@ -17,7 +17,7 @@ class TestSetup { global $wgDevelopmentWarnings; global $wgSessionProviders, $wgSessionPbkdf2Iterations; global $wgJobTypeConf; - global $wgAuthManagerConfig, $wgAuth; + global $wgAuthManagerConfig; // wfWarn should cause tests to fail $wgDevelopmentWarnings = true; @@ -87,7 +87,6 @@ class TestSetup { ], 'secondaryauth' => [], ]; - $wgAuth = new MediaWiki\Auth\AuthManagerAuthPlugin(); // T46192 Do not attempt to send a real e-mail Hooks::clear( 'AlternateUserMailer' );