X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fphpunit%2Fincludes%2FTitleArrayFromResultTest.php;h=7c2973f93f2c94eee14e98827fa4a236e8d3baf4;hb=1d17bbe56326f4e4a26a5da59d232bbac16aed15;hp=6654a5b6dfc797a8329908ca19ab4e30509a9b7b;hpb=23f5395a8c772d8076ef7033aac43945e963e40c;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/TitleArrayFromResultTest.php b/tests/phpunit/includes/TitleArrayFromResultTest.php index 6654a5b6df..7c2973f93f 100644 --- a/tests/phpunit/includes/TitleArrayFromResultTest.php +++ b/tests/phpunit/includes/TitleArrayFromResultTest.php @@ -1,7 +1,7 @@ getRowWithTitle(), true ), - array( false, false ), - ); + return [ + [ $this->getRowWithTitle(), true ], + [ false, false ], + ]; } /** @@ -113,7 +113,7 @@ class TitleArrayFromResultTest extends PHPUnit_Framework_TestCase { $this->assertEquals( $expected, $object->valid() ); } - //@todo unit test for key() - //@todo unit test for next() - //@todo unit test for rewind() + // @todo unit test for key() + // @todo unit test for next() + // @todo unit test for rewind() }