aboutsummaryrefslogtreecommitdiffstats
path: root/tests/phpunit/includes/api/ApiUserrightsTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/phpunit/includes/api/ApiUserrightsTest.php')
-rw-r--r--tests/phpunit/includes/api/ApiUserrightsTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/phpunit/includes/api/ApiUserrightsTest.php b/tests/phpunit/includes/api/ApiUserrightsTest.php
index 71396a7b6964..6d208546cdb9 100644
--- a/tests/phpunit/includes/api/ApiUserrightsTest.php
+++ b/tests/phpunit/includes/api/ApiUserrightsTest.php
@@ -295,7 +295,7 @@ class ApiUserrightsTest extends ApiTestCase {
$this->doSuccessfulRightsChange( $expectedGroups, $params, $user );
}
- public function addAndRemoveGroupsProvider() {
+ public static function addAndRemoveGroupsProvider() {
return [
'Simple add' => [
[ [ 'sysop' ], [] ],