Added @group database to ContentHandlerTest.
authordaniel <daniel.kinzler@wikimedia.de>
Thu, 14 Jun 2012 06:39:15 +0000 (08:39 +0200)
committerdaniel <daniel.kinzler@wikimedia.de>
Thu, 14 Jun 2012 06:39:15 +0000 (08:39 +0200)
Apparently, the parser needs database access to handle local links using
a LinkHolderArray. This fails in the "databaseless" test run performed by jenkins.

Change-Id: I7f242abea0c25c07638b4bca4a6732289a3a7e91

tests/phpunit/includes/ContentHandlerTest.php

index 6454032..155d4f7 100644 (file)
@@ -2,6 +2,11 @@
 
 /**
  * @group ContentHandler
+ *
+ * @note: Declare that we are using the database, because otherwise we'll fail in the "databaseless" test run.
+ * This is because the LinkHolderArray used by the parser needs database access.
+ *
+ * @group Database
  */
 class ContentHandlerTest extends MediaWikiTestCase {