From: addshore Date: Thu, 23 Nov 2017 19:09:15 +0000 (+0000) Subject: Remove method level @group Database tags X-Git-Tag: 1.31.0-rc.0~1418 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22suivi_revisions%22%2C%22id_auteur=%24connecte%22%29%20.%20%22?a=commitdiff_plain;h=e6e59bb425047816ac2fc64cdbc4918f1479925b;p=lhc%2Fweb%2Fwiklou.git Remove method level @group Database tags MessageTest did not have the group at class level either so that is added in this patch. Change-Id: Idb6213282d6854044f374c9df51ea32d0a5523e1 --- diff --git a/tests/phpunit/includes/ExtraParserTest.php b/tests/phpunit/includes/ExtraParserTest.php index a4e3bb9493..aaa135d8a0 100644 --- a/tests/phpunit/includes/ExtraParserTest.php +++ b/tests/phpunit/includes/ExtraParserTest.php @@ -193,7 +193,6 @@ class ExtraParserTest extends MediaWikiTestCase { } /** - * @group Database * @covers Parser::parse */ public function testTrackingCategory() { @@ -207,7 +206,6 @@ class ExtraParserTest extends MediaWikiTestCase { } /** - * @group Database * @covers Parser::parse */ public function testTrackingCategorySpecial() { diff --git a/tests/phpunit/includes/MessageTest.php b/tests/phpunit/includes/MessageTest.php index 912bffe645..f99cccddb9 100644 --- a/tests/phpunit/includes/MessageTest.php +++ b/tests/phpunit/includes/MessageTest.php @@ -2,6 +2,9 @@ use Wikimedia\TestingAccessWrapper; +/** + * @group Database + */ class MessageTest extends MediaWikiLangTestCase { protected function setUp() { @@ -467,7 +470,6 @@ class MessageTest extends MediaWikiLangTestCase { /** * FIXME: This should not need database, but Language#formatExpiry does (T57912) - * @group Database * @covers Message::expiryParam * @covers Message::expiryParams */ diff --git a/tests/phpunit/includes/TitleTest.php b/tests/phpunit/includes/TitleTest.php index b0febe8d5f..5a92b99b41 100644 --- a/tests/phpunit/includes/TitleTest.php +++ b/tests/phpunit/includes/TitleTest.php @@ -282,7 +282,6 @@ class TitleTest extends MediaWikiTestCase { /** * Auth-less test of Title::isValidMoveOperation * - * @group Database * @param string $source * @param string $target * @param array|string|bool $expected Required error diff --git a/tests/phpunit/includes/content/TextContentTest.php b/tests/phpunit/includes/content/TextContentTest.php index b290f8f281..1601493352 100644 --- a/tests/phpunit/includes/content/TextContentTest.php +++ b/tests/phpunit/includes/content/TextContentTest.php @@ -212,7 +212,6 @@ class TextContentTest extends MediaWikiLangTestCase { /** * @dataProvider dataIsCountable - * @group Database * @covers TextContent::isCountable */ public function testIsCountable( $text, $hasLinks, $mode, $expected ) {