From: Platonides Date: Mon, 19 Dec 2011 21:00:03 +0000 (+0000) Subject: ExtraParserTest::testTrackingCategory and ExtraParserTest::testTrackingCategorySpecia... X-Git-Tag: 1.31.0-rc.0~25892 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=dc48a07d25ae4f05f06af9690afc3d5252be4415;p=lhc%2Fweb%2Fwiklou.git ExtraParserTest::testTrackingCategory and ExtraParserTest::testTrackingCategorySpecial need a db --- diff --git a/tests/phpunit/includes/ExtraParserTest.php b/tests/phpunit/includes/ExtraParserTest.php index dc29439804..a9088cb236 100644 --- a/tests/phpunit/includes/ExtraParserTest.php +++ b/tests/phpunit/includes/ExtraParserTest.php @@ -140,6 +140,10 @@ class ExtraParserTest extends MediaWikiTestCase { 'finalTitle' => $title, 'deps' => $deps ); } + + /** + * @group Database + */ function testTrackingCategory() { $title = Title::newFromText( __FUNCTION__ ); $catName = wfMsgForContent( 'broken-file-category' ); @@ -149,6 +153,10 @@ class ExtraParserTest extends MediaWikiTestCase { $result = $parserOutput->getCategoryLinks(); $this->assertEquals( $expected, $result ); } + + /** + * @group Database + */ function testTrackingCategorySpecial() { // Special pages shouldn't have tracking cats. $title = SpecialPage::getTitleFor( 'Contributions' );