From: daniel Date: Thu, 14 Jun 2012 06:39:15 +0000 (+0200) Subject: Added @group database to ContentHandlerTest. X-Git-Tag: 1.31.0-rc.0~22097^2^2~100 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=a3a733e661cf3532cdcdbc37097489727e9071bd;p=lhc%2Fweb%2Fwiklou.git Added @group database to ContentHandlerTest. 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 --- diff --git a/tests/phpunit/includes/ContentHandlerTest.php b/tests/phpunit/includes/ContentHandlerTest.php index 6454032126..155d4f7e9b 100644 --- a/tests/phpunit/includes/ContentHandlerTest.php +++ b/tests/phpunit/includes/ContentHandlerTest.php @@ -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 {