dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add @covers tags API tests without them
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
api
/
ApiPageSetTest.php
diff --git
a/tests/phpunit/includes/api/ApiPageSetTest.php
b/tests/phpunit/includes/api/ApiPageSetTest.php
index
8a2146a
..
10bdfa7
100644
(file)
--- a/
tests/phpunit/includes/api/ApiPageSetTest.php
+++ b/
tests/phpunit/includes/api/ApiPageSetTest.php
@@
-4,6
+4,7
@@
* @group API
* @group medium
* @group Database
* @group API
* @group medium
* @group Database
+ * @covers ApiPageSet
*/
class ApiPageSetTest extends ApiTestCase {
public static function provideRedirectMergePolicy() {
*/
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' => [
],
'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'];
}
if ( !isset( $current['index'] ) || $new['index'] < $current['index'] ) {
$current['index'] = $new['index'];
}