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 "mediawiki.page.gallery.resize: Remove weird mw.hook call"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
site
/
MediaWikiSiteTest.php
diff --git
a/tests/phpunit/includes/site/MediaWikiSiteTest.php
b/tests/phpunit/includes/site/MediaWikiSiteTest.php
index
15b8865
..
c3fd155
100644
(file)
--- a/
tests/phpunit/includes/site/MediaWikiSiteTest.php
+++ b/
tests/phpunit/includes/site/MediaWikiSiteTest.php
@@
-32,6
+32,10
@@
class MediaWikiSiteTest extends SiteTest {
public function testNormalizePageTitle() {
+ $this->setMwGlobals( array(
+ 'wgCapitalLinks' => true,
+ ) );
+
$site = new MediaWikiSite();
$site->setGlobalId( 'enwiki' );