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 "registration: Only allow one extension to set a specific config setting"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
PagePropsTest.php
diff --git
a/tests/phpunit/includes/PagePropsTest.php
b/tests/phpunit/includes/PagePropsTest.php
index
29c9e22
..
89fd6e0
100644
(file)
--- a/
tests/phpunit/includes/PagePropsTest.php
+++ b/
tests/phpunit/includes/PagePropsTest.php
@@
-35,7
+35,7
@@
class TestPageProps extends MediaWikiLangTestCase {
$wgNamespaceContentModels[12312] = 'DUMMY';
$wgContentHandlers['DUMMY'] = 'DummyContentHandlerForTesting';
$wgNamespaceContentModels[12312] = 'DUMMY';
$wgContentHandlers['DUMMY'] = 'DummyContentHandlerForTesting';
- MWNamespace::
getCanonicalNamespaces( true ); # reset namespace cache
+ MWNamespace::
clearCaches();
$wgContLang->resetNamespaces(); # reset namespace cache
if ( !$this->the_properties ) {
$wgContLang->resetNamespaces(); # reset namespace cache
if ( !$this->the_properties ) {
@@
-81,7
+81,7
@@
class TestPageProps extends MediaWikiLangTestCase {
unset( $wgNamespaceContentModels[12312] );
unset( $wgContentHandlers['DUMMY'] );
unset( $wgNamespaceContentModels[12312] );
unset( $wgContentHandlers['DUMMY'] );
- MWNamespace::
getCanonicalNamespaces( true ); # reset namespace cache
+ MWNamespace::
clearCaches();
$wgContLang->resetNamespaces(); # reset namespace cache
}
$wgContLang->resetNamespaces(); # reset namespace cache
}