From: Antoine Musso Date: Fri, 27 Jul 2012 20:49:58 +0000 (+0200) Subject: mark WikitextContent tests as requiring database X-Git-Tag: 1.31.0-rc.0~22097^2^2~64 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/operations/recherche.php?a=commitdiff_plain;h=79773839a1b83688ea51c6efa547c62058ca8410;p=lhc%2Fweb%2Fwiklou.git mark WikitextContent tests as requiring database Some of the WikitextContent tests require a database connection which breaks the databaseless PHPUnit test job. Change-Id: Ia78d22763bffc11a7f66a50ae67bc340939366b9 --- diff --git a/tests/phpunit/includes/WikitextContentTest.php b/tests/phpunit/includes/WikitextContentTest.php index e3870bdfaf..b5b2fb52a3 100644 --- a/tests/phpunit/includes/WikitextContentTest.php +++ b/tests/phpunit/includes/WikitextContentTest.php @@ -51,6 +51,7 @@ class WikitextContentTest extends MediaWikiTestCase { /** * @dataProvider dataGetSecondaryDataUpdates + * @group Database */ public function testGetSecondaryDataUpdates( $title, $text, $expectedStuff ) { $title = Title::newFromText( $title ); @@ -342,6 +343,7 @@ just a test" /** * @dataProvider dataIsCountable + * @group Database */ public function testIsCountable( $text, $hasLinks, $mode, $expected ) { global $wgArticleCountMethod;