aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/filebackend/FileBackendIntegrationTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/phpunit/includes/filebackend/FileBackendIntegrationTest.php')
-rw-r--r--tests/phpunit/includes/filebackend/FileBackendIntegrationTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/phpunit/includes/filebackend/FileBackendIntegrationTest.php b/tests/phpunit/includes/filebackend/FileBackendIntegrationTest.php
index 7049a8ed377f..bed5bf902497 100644
--- a/tests/phpunit/includes/filebackend/FileBackendIntegrationTest.php
+++ b/tests/phpunit/includes/filebackend/FileBackendIntegrationTest.php
@@ -1548,7 +1548,7 @@ class FileBackendIntegrationTest extends MediaWikiIntegrationTestCase {
$url = $this->backend->getFileHttpUrl( [ 'src' => $source ] );
if ( $url !== null ) { // supported
- $data = MediaWikiServices::getInstance()->getHttpRequestFactory()->
+ $data = $this->getServiceContainer()->getHttpRequestFactory()->
get( $url, [], __METHOD__ );
$this->assertEquals( $content, $data,
"HTTP GET of URL has right contents ($backendName)." );