diff options
Diffstat (limited to 'tests/phpunit/includes/jobqueue/JobQueueTest.php')
-rw-r--r-- | tests/phpunit/includes/jobqueue/JobQueueTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/phpunit/includes/jobqueue/JobQueueTest.php b/tests/phpunit/includes/jobqueue/JobQueueTest.php index 83bdb7ffb138..7bd0c888167e 100644 --- a/tests/phpunit/includes/jobqueue/JobQueueTest.php +++ b/tests/phpunit/includes/jobqueue/JobQueueTest.php @@ -17,7 +17,7 @@ class JobQueueTest extends MediaWikiIntegrationTestCase { $this->tablesUsed[] = 'job'; - $services = MediaWikiServices::getInstance(); + $services = $this->getServiceContainer(); if ( $this->getCliArg( 'use-jobqueue' ) ) { $name = $this->getCliArg( 'use-jobqueue' ); if ( !isset( $wgJobTypeConf[$name] ) ) { |