diff options
Diffstat (limited to 'MLEB/Translate/tests/phpunit/ExclusionInclusionListTest.php')
-rw-r--r-- | MLEB/Translate/tests/phpunit/ExclusionInclusionListTest.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/MLEB/Translate/tests/phpunit/ExclusionInclusionListTest.php b/MLEB/Translate/tests/phpunit/ExclusionInclusionListTest.php index 8d3c700c..e6b17f5b 100644 --- a/MLEB/Translate/tests/phpunit/ExclusionInclusionListTest.php +++ b/MLEB/Translate/tests/phpunit/ExclusionInclusionListTest.php @@ -6,7 +6,7 @@ * @license GPL-2.0-or-later */ -class ExclusionInclusionListTest extends MediaWikiTestCase { +class ExclusionInclusionListTest extends MediaWikiIntegrationTestCase { /** @var MessageGroup */ protected $group; @@ -43,7 +43,7 @@ class ExclusionInclusionListTest extends MediaWikiTestCase { public function testAllExclusionList() { $conf = $this->groupConfiguration; $conf['LANGUAGES'] = [ - 'blacklist' => '*', + 'exclude' => '*', ]; $group = MessageGroupBase::factory( $conf ); $translatableLanguages = $group->getTranslatableLanguages(); @@ -53,7 +53,7 @@ class ExclusionInclusionListTest extends MediaWikiTestCase { public function testAllInclusionList() { $conf = $this->groupConfiguration; $conf['LANGUAGES'] = [ - 'whitelist' => '*', + 'include' => '*', ]; $group = MessageGroupBase::factory( $conf ); $translatableLanguages = $group->getTranslatableLanguages(); @@ -63,8 +63,8 @@ class ExclusionInclusionListTest extends MediaWikiTestCase { public function testInclusionListOverridesExclusionList() { $conf = $this->groupConfiguration; $conf['LANGUAGES'] = [ - 'whitelist' => [ 'en', 'hi', 'ta' ], - 'blacklist' => [ 'ta' ], + 'include' => [ 'en', 'hi', 'ta' ], + 'exclude' => [ 'ta' ], ]; $group = MessageGroupBase::factory( $conf ); $translatableLanguages = $group->getTranslatableLanguages(); @@ -75,7 +75,7 @@ class ExclusionInclusionListTest extends MediaWikiTestCase { public function testSomeExclusionList() { $conf = $this->groupConfiguration; $conf['LANGUAGES'] = [ - 'blacklist' => [ 'or', 'hi' ], + 'exclude' => [ 'or', 'hi' ], ]; $group = MessageGroupBase::factory( $conf ); $translatableLanguages = $group->getTranslatableLanguages(); |