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 "GlobalFunctions: Enable patch-coverage for wfExpandUrl test"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
SampleTest.php
diff --git
a/tests/phpunit/includes/SampleTest.php
b/tests/phpunit/includes/SampleTest.php
index
4747466
..
22495d0
100644
(file)
--- a/
tests/phpunit/includes/SampleTest.php
+++ b/
tests/phpunit/includes/SampleTest.php
@@
-16,9
+16,8
@@
class SampleTest extends MediaWikiLangTestCase {
// This sets the globals and will restore them automatically
// after each test.
+ $this->setContentLang( 'en' );
$this->setMwGlobals( [
- 'wgContLang' => Language::factory( 'en' ),
- 'wgLanguageCode' => 'en',
'wgCapitalLinks' => true,
] );
}