dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
ba89454
)
Merge "Setting $wgContLang without changing $wgLanguageCode accordingly is a very...
author
Siebrand
<siebrand@wikimedia.org>
Mon, 22 Oct 2012 12:06:10 +0000
(12:06 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Mon, 22 Oct 2012 12:06:10 +0000
(12:06 +0000)
tests/phpunit/includes/BlockTest.php
patch
|
blob
|
history
diff --git
a/tests/phpunit/includes/BlockTest.php
b/tests/phpunit/includes/BlockTest.php
index
5ac05ba
..
29931c8
100644
(file)
--- a/
tests/phpunit/includes/BlockTest.php
+++ b/
tests/phpunit/includes/BlockTest.php
@@
-13,7
+13,10
@@
class BlockTest extends MediaWikiLangTestCase {
protected function setUp() {
parent::setUp();
- $this->setMwGlobals( 'wgContLang', Language::factory( 'en' ) );
+ $this->setMwGlobals( array(
+ 'wgLanguageCode' => 'en',
+ 'wgContLang' => Language::factory( 'en' )
+ ) );
}
function addDBData() {