r106697 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r106696‎ | r106697 | r106698 >
Date:21:00, 19 December 2011
Author:platonides
Status:ok
Tags:
Comment:
ExtraParserTest::testTrackingCategory and ExtraParserTest::testTrackingCategorySpecial need a db
Modified paths:
  • /trunk/phase3/tests/phpunit/includes/ExtraParserTest.php (modified) (history)

Diff [purge]

Index: trunk/phase3/tests/phpunit/includes/ExtraParserTest.php
@@ -140,6 +140,10 @@
141141 'finalTitle' => $title,
142142 'deps' => $deps );
143143 }
 144+
 145+ /**
 146+ * @group Database
 147+ */
144148 function testTrackingCategory() {
145149 $title = Title::newFromText( __FUNCTION__ );
146150 $catName = wfMsgForContent( 'broken-file-category' );
@@ -149,6 +153,10 @@
150154 $result = $parserOutput->getCategoryLinks();
151155 $this->assertEquals( $expected, $result );
152156 }
 157+
 158+ /**
 159+ * @group Database
 160+ */
153161 function testTrackingCategorySpecial() {
154162 // Special pages shouldn't have tracking cats.
155163 $title = SpecialPage::getTitleFor( 'Contributions' );

Status & tagging log