Several unit tests access the database, but did not declare
themselves in the Database @group. This causes
"make databaseless" to fail needlessly. Add the
missing tags.
tests/phpunit/includes/LinkerTest.php
tests/phpunit/includes/actions/ActionTest.php
tests/phpunit/includes/specials/ImageListPagerTest.php
tests/phpunit/includes/specials/SpecialMIMESearchTest.php
tests/phpunit/includes/title/MediaWikiPageLinkRendererTest.php
Other than ActionTest.php, these also are problematic in 1.23
Change-Id: I7c1c957e2194c13e48b7ba68d7529e5d89901875
<?php
+/**
+ * @group Database
+ */
+
class LinkerTest extends MediaWikiLangTestCase {
/**
* @author Thiemo Mättig
*
* @group Action
+ * @group Database
*/
class ActionTest extends MediaWikiTestCase {
* Copyright © 2013, Siebrand Mazeland
* Copyright © 2013, Wikimedia Foundation Inc.
*
+ * @group Database
*/
class ImageListPagerTest extends MediaWikiTestCase {
<?php
+/**
+ * @group Database
+ */
+
class SpecialMIMESearchTest extends MediaWikiTestCase {
/** @var MIMESearchPage */
* @covers MediaWikiPageLinkRenderer
*
* @group Title
+ * @group Database
*/
class MediaWikiPageLinkRendererTest extends MediaWikiTestCase {