X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fcommon%2FTestSetup.php;h=a42f573bb39e8bb1f482dcec1e2fe7a4911a7d5d;hb=9e4326370946eace9a20cd3d89f57a027f64257a;hp=2feb4388350e199ff15834f23b8a858405a880ee;hpb=13e8478a636f003ebf4e80f2db07a1be3f68e757;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/common/TestSetup.php b/tests/common/TestSetup.php index 2feb438835..a42f573bb3 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 $wgShowExceptionDetails; + + $wgShowExceptionDetails = true; // 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' );