From 9d60ec5a4f5e63343396e7ebc78b04070ded6c3e Mon Sep 17 00:00:00 2001 From: aude Date: Wed, 1 Apr 2015 09:35:32 +0200 Subject: [PATCH] Add @group Database tags to tests that need it These tests all involve database access in some way, and thus need @group Database tags. These failed when setting a bogus database password and then running the tests. Change-Id: I7f113a79ac44d09d88ec607f76b8ec22bc1ebcf1 --- tests/phpunit/includes/ExtraParserTest.php | 2 ++ tests/phpunit/includes/TitleTest.php | 1 + tests/phpunit/includes/parser/MagicVariableTest.php | 2 ++ tests/phpunit/includes/parser/ParserMethodsTest.php | 4 ++++ tests/phpunit/includes/parser/TagHooksTest.php | 1 + .../includes/resourceloader/ResourceLoaderFileModuleTest.php | 1 + tests/phpunit/includes/specials/SpecialPreferencesTest.php | 3 ++- 7 files changed, 13 insertions(+), 1 deletion(-) diff --git a/tests/phpunit/includes/ExtraParserTest.php b/tests/phpunit/includes/ExtraParserTest.php index 4a4130e048..77b26b3bd4 100644 --- a/tests/phpunit/includes/ExtraParserTest.php +++ b/tests/phpunit/includes/ExtraParserTest.php @@ -2,6 +2,8 @@ /** * Parser-related tests that don't suit for parserTests.txt + * + * @group Database */ class ExtraParserTest extends MediaWikiTestCase { diff --git a/tests/phpunit/includes/TitleTest.php b/tests/phpunit/includes/TitleTest.php index d55f958baf..00c29ee42a 100644 --- a/tests/phpunit/includes/TitleTest.php +++ b/tests/phpunit/includes/TitleTest.php @@ -1,6 +1,7 @@