From 79773839a1b83688ea51c6efa547c62058ca8410 Mon Sep 17 00:00:00 2001 From: Antoine Musso Date: Fri, 27 Jul 2012 22:49:58 +0200 Subject: [PATCH] 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 --- tests/phpunit/includes/WikitextContentTest.php | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.20.1