dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Defer cookie block checks to resolve a circular dependency"
[lhc/web/wiklou.git]
/
tests
/
common
/
TestSetup.php
diff --git
a/tests/common/TestSetup.php
b/tests/common/TestSetup.php
index
2feb438
..
a42f573
100644
(file)
--- a/
tests/common/TestSetup.php
+++ b/
tests/common/TestSetup.php
@@
-17,7
+17,10
@@
class TestSetup {
global $wgDevelopmentWarnings;
global $wgSessionProviders, $wgSessionPbkdf2Iterations;
global $wgJobTypeConf;
global $wgDevelopmentWarnings;
global $wgSessionProviders, $wgSessionPbkdf2Iterations;
global $wgJobTypeConf;
- global $wgAuthManagerConfig, $wgAuth;
+ global $wgAuthManagerConfig;
+ global $wgShowExceptionDetails;
+
+ $wgShowExceptionDetails = true;
// wfWarn should cause tests to fail
$wgDevelopmentWarnings = true;
// wfWarn should cause tests to fail
$wgDevelopmentWarnings = true;
@@
-87,7
+90,6
@@
class TestSetup {
],
'secondaryauth' => [],
];
],
'secondaryauth' => [],
];
- $wgAuth = new MediaWiki\Auth\AuthManagerAuthPlugin();
// T46192 Do not attempt to send a real e-mail
Hooks::clear( 'AlternateUserMailer' );
// T46192 Do not attempt to send a real e-mail
Hooks::clear( 'AlternateUserMailer' );