From 84433394117db3eee5776c72bda802dd8e38f39a Mon Sep 17 00:00:00 2001 From: aude Date: Sat, 18 Mar 2017 19:06:09 -0400 Subject: [PATCH] Add missing @group Database tags in tests Change-Id: Id92aab0b1f8cde6657d6558d0d82605109daa588 --- includes/WatchedItemStore.php | 5 ++++- tests/phpunit/includes/GlobalFunctions/GlobalTest.php | 1 + tests/phpunit/includes/OutputPageTest.php | 1 + tests/phpunit/includes/api/ApiMainTest.php | 1 + tests/phpunit/includes/password/UserPasswordPolicyTest.php | 3 +++ tests/phpunit/includes/rcfeed/RCFeedIntegrationTest.php | 3 +++ 6 files changed, 13 insertions(+), 1 deletion(-) diff --git a/includes/WatchedItemStore.php b/includes/WatchedItemStore.php index 9af5310ee1..caa3fdbe06 100644 --- a/includes/WatchedItemStore.php +++ b/includes/WatchedItemStore.php @@ -11,8 +11,11 @@ use Wikimedia\Rdbms\LoadBalancer; * Storage layer class for WatchedItems. * Database interaction. * - * @author Addshore + * Uses database because this uses User::isAnon + * + * @group Database * + * @author Addshore * @since 1.27 */ class WatchedItemStore implements StatsdAwareInterface { diff --git a/tests/phpunit/includes/GlobalFunctions/GlobalTest.php b/tests/phpunit/includes/GlobalFunctions/GlobalTest.php index 1d48d08b1d..2206fbdfee 100644 --- a/tests/phpunit/includes/GlobalFunctions/GlobalTest.php +++ b/tests/phpunit/includes/GlobalFunctions/GlobalTest.php @@ -1,6 +1,7 @@