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
mw.widgets.SearchInputWidget: Avoid overriding getOptionWidgetData
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
RevisionStorageTest.php
diff --git
a/tests/phpunit/includes/RevisionStorageTest.php
b/tests/phpunit/includes/RevisionStorageTest.php
index
e9f16db
..
8ed85fe
100644
(file)
--- a/
tests/phpunit/includes/RevisionStorageTest.php
+++ b/
tests/phpunit/includes/RevisionStorageTest.php
@@
-49,7
+49,7
@@
class RevisionStorageTest extends MediaWikiTestCase {
$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_page ) {
$this->the_page = $this->createPage(
$wgContLang->resetNamespaces(); # reset namespace cache
if ( !$this->the_page ) {
$this->the_page = $this->createPage(
@@
-73,7
+73,7
@@
class RevisionStorageTest extends MediaWikiTestCase {
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
}