aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/language/LanguageFallbackIntegrationTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/phpunit/includes/language/LanguageFallbackIntegrationTest.php')
-rw-r--r--tests/phpunit/includes/language/LanguageFallbackIntegrationTest.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/phpunit/includes/language/LanguageFallbackIntegrationTest.php b/tests/phpunit/includes/language/LanguageFallbackIntegrationTest.php
index 9ed77adb2693..b5f69b217f2a 100644
--- a/tests/phpunit/includes/language/LanguageFallbackIntegrationTest.php
+++ b/tests/phpunit/includes/language/LanguageFallbackIntegrationTest.php
@@ -1,7 +1,6 @@
<?php
use MediaWiki\Languages\LanguageFallback;
-use MediaWiki\MediaWikiServices;
/**
* @coversDefaultClass MediaWiki\Languages\LanguageFallback
@@ -18,7 +17,7 @@ class LanguageFallbackIntegrationTest extends MediaWikiIntegrationTestCase {
$this->setService( 'LocalisationCache', $this->getMockLocalisationCache(
1, $options['fallbackMap'] ) );
}
- return MediaWikiServices::getInstance()->getLanguageFallback();
+ return $this->getServiceContainer()->getLanguageFallback();
}
private function getMessagesKey() {