X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fjobqueue%2FJobQueueMemoryTest.php;h=fe7c50697890ffbe5ae8e04238e7d1fb3f3c46c3;hb=99fe1baa742350ef7a6d206cc0e0da8004f01719;hp=178a6a603ae8e2f0e5301be564346faf5f47e32f;hpb=23164604db9727b44d6d420b3344636da4934be1;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/jobqueue/JobQueueMemoryTest.php b/tests/phpunit/includes/jobqueue/JobQueueMemoryTest.php index 178a6a603a..fe7c506978 100644 --- a/tests/phpunit/includes/jobqueue/JobQueueMemoryTest.php +++ b/tests/phpunit/includes/jobqueue/JobQueueMemoryTest.php @@ -6,7 +6,7 @@ * @group JobQueue * * @licence GNU GPL v2+ - * @author Thiemo Mättig + * @author Thiemo Kreuz */ class JobQueueMemoryTest extends PHPUnit_Framework_TestCase { @@ -14,18 +14,18 @@ class JobQueueMemoryTest extends PHPUnit_Framework_TestCase { * @return JobQueueMemory */ private function newJobQueue() { - return JobQueue::factory( array( + return JobQueue::factory( [ 'class' => 'JobQueueMemory', 'wiki' => wfWikiID(), 'type' => 'null', - ) ); + ] ); } private function newJobSpecification() { return new JobSpecification( 'null', - array( 'customParameter' => null ), - array(), + [ 'customParameter' => null ], + [], Title::newFromText( 'Custom title' ) ); }