From a3a733e661cf3532cdcdbc37097489727e9071bd Mon Sep 17 00:00:00 2001 From: daniel Date: Thu, 14 Jun 2012 08:39:15 +0200 Subject: [PATCH] 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 --- tests/phpunit/includes/ContentHandlerTest.php | 5 +++++ 1 file changed, 5 insertions(+) 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 { -- 2.20.1