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 "SpecialEmailUser: Don't increment pingLimiter() just for opening the page"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
TitleMethodsTest.php
diff --git
a/tests/phpunit/includes/TitleMethodsTest.php
b/tests/phpunit/includes/TitleMethodsTest.php
index
8af3434
..
b760c22
100644
(file)
--- a/
tests/phpunit/includes/TitleMethodsTest.php
+++ b/
tests/phpunit/includes/TitleMethodsTest.php
@@
-29,7
+29,7
@@
class TitleMethodsTest extends MediaWikiLangTestCase {
]
);
]
);
- MWNamespace::
getCanonicalNamespaces( true ); # reset namespace cache
+ MWNamespace::
clearCaches();
$wgContLang->resetNamespaces(); # reset namespace cache
}
$wgContLang->resetNamespaces(); # reset namespace cache
}
@@
-38,7
+38,7
@@
class TitleMethodsTest extends MediaWikiLangTestCase {
parent::tearDown();
parent::tearDown();
- MWNamespace::
getCanonicalNamespaces( true ); # reset namespace cache
+ MWNamespace::
clearCaches();
$wgContLang->resetNamespaces(); # reset namespace cache
}
$wgContLang->resetNamespaces(); # reset namespace cache
}
@@
-305,6
+305,7
@@
class TitleMethodsTest extends MediaWikiLangTestCase {
[ 'Help:Main Page', 'Help talk:Main Page' ],
[ 'Help talk:Main Page', 'Help:Main Page' ],
[ 'Special:FooBar', null ],
[ 'Help:Main Page', 'Help talk:Main Page' ],
[ 'Help talk:Main Page', 'Help:Main Page' ],
[ 'Special:FooBar', null ],
+ [ 'Media:File.jpg', null ],
];
}
];
}