From 7e3fcc39ea5535457c1337a1127f27d762a153ed Mon Sep 17 00:00:00 2001 From: Jeff Janes Date: Fri, 15 Aug 2014 14:11:26 -0700 Subject: [PATCH] PHPUnit: Add Database tags 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 --- tests/phpunit/includes/LinkerTest.php | 4 ++++ tests/phpunit/includes/actions/ActionTest.php | 1 + tests/phpunit/includes/specials/ImageListPagerTest.php | 1 + tests/phpunit/includes/specials/SpecialMIMESearchTest.php | 4 ++++ .../phpunit/includes/title/MediaWikiPageLinkRendererTest.php | 1 + 5 files changed, 11 insertions(+) diff --git a/tests/phpunit/includes/LinkerTest.php b/tests/phpunit/includes/LinkerTest.php index 72114e963e..7b84107ef1 100644 --- a/tests/phpunit/includes/LinkerTest.php +++ b/tests/phpunit/includes/LinkerTest.php @@ -1,5 +1,9 @@