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
Enable email settings for ApiBlockTest::testBlockWithEmailBlock
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
ContentSecurityPolicyTest.php
diff --git
a/tests/phpunit/includes/ContentSecurityPolicyTest.php
b/tests/phpunit/includes/ContentSecurityPolicyTest.php
index
5f0200d
..
a758f99
100644
(file)
--- a/
tests/phpunit/includes/ContentSecurityPolicyTest.php
+++ b/
tests/phpunit/includes/ContentSecurityPolicyTest.php
@@
-37,7
+37,7
@@
class ContentSecurityPolicyTest extends MediaWikiTestCase {
// Note, there are some obscure globals which
// could affect the results which aren't included above.
// Note, there are some obscure globals which
// could affect the results which aren't included above.
-
RepoGroup::destroySingleton
();
+
$this->overrideMwServices
();
$context = RequestContext::getMain();
$resp = $context->getRequest()->response();
$conf = $context->getConfig();
$context = RequestContext::getMain();
$resp = $context->getRequest()->response();
$conf = $context->getConfig();