diff options
Diffstat (limited to 'tests/phpunit/includes/session/SessionProviderTest.php')
-rw-r--r-- | tests/phpunit/includes/session/SessionProviderTest.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/phpunit/includes/session/SessionProviderTest.php b/tests/phpunit/includes/session/SessionProviderTest.php index e17355bb3866..8b151e83122b 100644 --- a/tests/phpunit/includes/session/SessionProviderTest.php +++ b/tests/phpunit/includes/session/SessionProviderTest.php @@ -2,7 +2,6 @@ namespace MediaWiki\Session; -use MediaWiki\MediaWikiServices; use MediaWiki\User\UserNameUtils; use MediaWikiIntegrationTestCase; use TestLogger; @@ -203,7 +202,7 @@ class SessionProviderTest extends MediaWikiIntegrationTestCase { $this->assertSame( 'MockSessionProvider sessions', $provider->describe( - MediaWikiServices::getInstance()->getLanguageFactory()->getLanguage( 'en' ) ) + $this->getServiceContainer()->getLanguageFactory()->getLanguage( 'en' ) ) ); } |