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
Limit test leakage, $wgCapitalLinks expected to be true
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
LinksUpdateTest.php
diff --git
a/tests/phpunit/includes/LinksUpdateTest.php
b/tests/phpunit/includes/LinksUpdateTest.php
index
9ff547c
..
a5dac8d
100644
(file)
--- a/
tests/phpunit/includes/LinksUpdateTest.php
+++ b/
tests/phpunit/includes/LinksUpdateTest.php
@@
-186,6
+186,10
@@
class LinksUpdateTest extends MediaWikiTestCase {
* @covers ParserOutput::addLanguageLink
*/
public function testUpdate_langlinks() {
+ $this->setMwGlobals( array(
+ 'wgCapitalLinks' => true,
+ ) );
+
/** @var ParserOutput $po */
list( $t, $po ) = $this->makeTitleAndParserOutput( "Testing", 111 );