diff options
Diffstat (limited to 'tests/phpunit/includes/jobqueue/JobTest.php')
-rw-r--r-- | tests/phpunit/includes/jobqueue/JobTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/phpunit/includes/jobqueue/JobTest.php b/tests/phpunit/includes/jobqueue/JobTest.php index da78a8754935..ac7f30a8ca13 100644 --- a/tests/phpunit/includes/jobqueue/JobTest.php +++ b/tests/phpunit/includes/jobqueue/JobTest.php @@ -102,7 +102,7 @@ class JobTest extends MediaWikiIntegrationTestCase { * @dataProvider provideTestJobFactory */ public function testJobFactory( $handler, $expectedClass ) { - $this->overrideConfigValue( 'JobClasses', [ 'testdummy' => $handler ] ); + $this->overrideConfigValue( MainConfigNames::JobClasses, [ 'testdummy' => $handler ] ); $job = Job::factory( 'testdummy', Title::newMainPage(), [] ); $this->assertInstanceOf( $expectedClass, $job ); |