X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=tests%2Fcommon%2FTestSetup.php;h=e24c4c544253c0520ac2a790a05b36bb31d66d33;hb=309c7b316f17daf567ff295fa5b5203cfc499141;hp=2feb4388350e199ff15834f23b8a858405a880ee;hpb=4df0c71911500466a6330b8fe29c623ef5b51e41;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' );