X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fapi%2FApiPageSetTest.php;h=10bdfa735cb8b83efc13354f5bf39591430c6038;hp=8a2146a15b2e6211f7ea33032ba343055ef3d8a4;hb=dbad540cd37617879aff6f28ce9c016dd8049d4e;hpb=55043101b2a89ea1e811b6d35e415f57ed0bf41d 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']; }