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