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 "Skin: Make skins aware of their registered skin name"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
content
/
ContentHandlerTest.php
diff --git
a/tests/phpunit/includes/content/ContentHandlerTest.php
b/tests/phpunit/includes/content/ContentHandlerTest.php
index
ee79ffa
..
2422e79
100644
(file)
--- a/
tests/phpunit/includes/content/ContentHandlerTest.php
+++ b/
tests/phpunit/includes/content/ContentHandlerTest.php
@@
-35,7
+35,7
@@
class ContentHandlerTest extends MediaWikiTestCase {
] );
// Reset namespace cache
] );
// Reset namespace cache
- MWNamespace::
getCanonicalNamespaces( true
);
+ MWNamespace::
clearCaches(
);
$wgContLang->resetNamespaces();
// And LinkCache
MediaWikiServices::getInstance()->resetServiceForTesting( 'LinkCache' );
$wgContLang->resetNamespaces();
// And LinkCache
MediaWikiServices::getInstance()->resetServiceForTesting( 'LinkCache' );
@@
-45,7
+45,7
@@
class ContentHandlerTest extends MediaWikiTestCase {
global $wgContLang;
// Reset namespace cache
global $wgContLang;
// Reset namespace cache
- MWNamespace::
getCanonicalNamespaces( true
);
+ MWNamespace::
clearCaches(
);
$wgContLang->resetNamespaces();
// And LinkCache
MediaWikiServices::getInstance()->resetServiceForTesting( 'LinkCache' );
$wgContLang->resetNamespaces();
// And LinkCache
MediaWikiServices::getInstance()->resetServiceForTesting( 'LinkCache' );