X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FTitleArrayFromResultTest.php;h=88822140488f5d5e9f2c5e9ecfc85faecc049c92;hb=e8b7742f0486984af2c9928f663e896392a1af97;hp=aad435e77713762904150ad96f25ce2e37db0d0c;hpb=4618f70793d1178ca4c646ef397cf17b1cc70b44;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/TitleArrayFromResultTest.php b/tests/phpunit/includes/TitleArrayFromResultTest.php index aad435e777..8882214048 100644 --- a/tests/phpunit/includes/TitleArrayFromResultTest.php +++ b/tests/phpunit/includes/TitleArrayFromResultTest.php @@ -1,11 +1,13 @@ getMockBuilder( 'ResultWrapper' ) ->disableOriginalConstructor(); @@ -65,11 +67,11 @@ class TitleArrayFromResultTest extends PHPUnit_Framework_TestCase { } public static function provideNumberOfRows() { - return array( - array( 0 ), - array( 1 ), - array( 122 ), - ); + return [ + [ 0 ], + [ 1 ], + [ 122 ], + ]; } /** @@ -98,10 +100,10 @@ class TitleArrayFromResultTest extends PHPUnit_Framework_TestCase { } public function provideTestValid() { - return array( - array( $this->getRowWithTitle(), true ), - array( false, false ), - ); + return [ + [ $this->getRowWithTitle(), true ], + [ false, false ], + ]; } /**