dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
be18766
)
Merge "Add missing @group Database tags in tests"
author
jenkins-bot
<jenkins-bot@gerrit.wikimedia.org>
Sat, 25 Mar 2017 01:13:53 +0000
(
01:13
+0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Sat, 25 Mar 2017 01:13:53 +0000
(
01:13
+0000)
includes/WatchedItemStore.php
patch
|
blob
|
history
tests/phpunit/includes/GlobalFunctions/GlobalTest.php
patch
|
blob
|
history
tests/phpunit/includes/OutputPageTest.php
patch
|
blob
|
history
tests/phpunit/includes/api/ApiMainTest.php
patch
|
blob
|
history
tests/phpunit/includes/password/UserPasswordPolicyTest.php
patch
|
blob
|
history
tests/phpunit/includes/rcfeed/RCFeedIntegrationTest.php
patch
|
blob
|
history
diff --git
a/includes/WatchedItemStore.php
b/includes/WatchedItemStore.php
index
9af5310
..
caa3fdb
100644
(file)
--- 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
1d48d08
..
2206fbd
100644
(file)
--- a/
tests/phpunit/includes/GlobalFunctions/GlobalTest.php
+++ b/
tests/phpunit/includes/GlobalFunctions/GlobalTest.php
@@
-1,6
+1,7
@@
<?php
/**
+ * @group Database
* @group GlobalFunctions
*/
class GlobalTest extends MediaWikiTestCase {
diff --git
a/tests/phpunit/includes/OutputPageTest.php
b/tests/phpunit/includes/OutputPageTest.php
index
50f851c
..
59441ce
100644
(file)
--- a/
tests/phpunit/includes/OutputPageTest.php
+++ b/
tests/phpunit/includes/OutputPageTest.php
@@
-4,6
+4,7
@@
*
* @author Matthew Flaschen
*
+ * @group Database
* @group Output
*
* @todo factor tests in this class into providers and test methods
diff --git
a/tests/phpunit/includes/api/ApiMainTest.php
b/tests/phpunit/includes/api/ApiMainTest.php
index
9060dfb
..
5c0a5d9
100644
(file)
--- a/
tests/phpunit/includes/api/ApiMainTest.php
+++ b/
tests/phpunit/includes/api/ApiMainTest.php
@@
-2,6
+2,7
@@
/**
* @group API
+ * @group Database
* @group medium
*
* @covers ApiMain
diff --git
a/tests/phpunit/includes/password/UserPasswordPolicyTest.php
b/tests/phpunit/includes/password/UserPasswordPolicyTest.php
index
5ea7b1d
..
8a69b5c
100644
(file)
--- a/
tests/phpunit/includes/password/UserPasswordPolicyTest.php
+++ b/
tests/phpunit/includes/password/UserPasswordPolicyTest.php
@@
-20,6
+20,9
@@
* @file
*/
+/**
+ * @group Database
+ */
class UserPasswordPolicyTest extends MediaWikiTestCase {
protected $policies = [
diff --git
a/tests/phpunit/includes/rcfeed/RCFeedIntegrationTest.php
b/tests/phpunit/includes/rcfeed/RCFeedIntegrationTest.php
index
e3ea139
..
3e9c567
100644
(file)
--- a/
tests/phpunit/includes/rcfeed/RCFeedIntegrationTest.php
+++ b/
tests/phpunit/includes/rcfeed/RCFeedIntegrationTest.php
@@
-1,5
+1,8
@@
<?php
+/**
+ * @group Database
+ */
class RCFeedIntegrationTest extends MediaWikiTestCase {
protected function setUp() {
parent::setUp();