Merge "xmp: Lower severity of XMP parse failure log events"
[lhc/web/wiklou.git] / tests / phpunit / includes / jobqueue / JobQueueMemoryTest.php
index 178a6a6..fe7c506 100644 (file)
@@ -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' )
                );
        }