X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2FTitleArrayFromResultTest.php;h=7c2973f93f2c94eee14e98827fa4a236e8d3baf4;hb=e4e4236dbe37a08c3fa2dceaea4ff21e7cb70d80;hp=6654a5b6dfc797a8329908ca19ab4e30509a9b7b;hpb=d24b74ce2db24799dbaa2abe0277a48694ad2ebd;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() }