From dc48a07d25ae4f05f06af9690afc3d5252be4415 Mon Sep 17 00:00:00 2001 From: Platonides Date: Mon, 19 Dec 2011 21:00:03 +0000 Subject: [PATCH] ExtraParserTest::testTrackingCategory and ExtraParserTest::testTrackingCategorySpecial need a db --- tests/phpunit/includes/ExtraParserTest.php | 8 ++++++++ 1 file changed, 8 insertions(+) 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' ); -- 2.20.1