aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/collation/CustomUppercaseCollationTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/phpunit/includes/collation/CustomUppercaseCollationTest.php')
-rw-r--r--tests/phpunit/includes/collation/CustomUppercaseCollationTest.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/phpunit/includes/collation/CustomUppercaseCollationTest.php b/tests/phpunit/includes/collation/CustomUppercaseCollationTest.php
index e1bb26d59a84..65abef740625 100644
--- a/tests/phpunit/includes/collation/CustomUppercaseCollationTest.php
+++ b/tests/phpunit/includes/collation/CustomUppercaseCollationTest.php
@@ -1,7 +1,5 @@
<?php
-use MediaWiki\MediaWikiServices;
-
/**
* TODO convert to a Unit test
*
@@ -12,7 +10,7 @@ class CustomUppercaseCollationTest extends MediaWikiIntegrationTestCase {
protected function setUp(): void {
parent::setUp();
$this->collation = new CustomUppercaseCollation(
- MediaWikiServices::getInstance()->getLanguageFactory(),
+ $this->getServiceContainer()->getLanguageFactory(),
[
'D',
'C',