X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fapi%2FApiPageSetTest.php;h=10bdfa735cb8b83efc13354f5bf39591430c6038;hb=005857aba57362d415b9436f2341f5456b6a3567;hp=8a2146a15b2e6211f7ea33032ba343055ef3d8a4;hpb=cf35ff756c89ca6d6e003b440076df5ebe7ccef7;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/api/ApiPageSetTest.php b/tests/phpunit/includes/api/ApiPageSetTest.php index 8a2146a15b..10bdfa735c 100644 --- a/tests/phpunit/includes/api/ApiPageSetTest.php +++ b/tests/phpunit/includes/api/ApiPageSetTest.php @@ -4,6 +4,7 @@ * @group API * @group medium * @group Database + * @covers ApiPageSet */ class ApiPageSetTest extends ApiTestCase { public static function provideRedirectMergePolicy() { @@ -14,7 +15,7 @@ class ApiPageSetTest extends ApiTestCase { ], 'A simple merge policy adds the redirect data in' => [ - function( $current, $new ) { + function ( $current, $new ) { if ( !isset( $current['index'] ) || $new['index'] < $current['index'] ) { $current['index'] = $new['index']; }