X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fspecials%2FSpecialPreferencesTest.php;h=bdfbb62e7e980f5e8d57a7585f8ef35372c48c3c;hb=767042c3e68adb29513;hp=ac58d68c57c266e03c5904a1bf317964cb9936f9;hpb=af420fe8b5e2f56346c58c3bdf8dcb7bd2b10f9b;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/specials/SpecialPreferencesTest.php b/tests/phpunit/includes/specials/SpecialPreferencesTest.php index ac58d68c57..bdfbb62e7e 100644 --- a/tests/phpunit/includes/specials/SpecialPreferencesTest.php +++ b/tests/phpunit/includes/specials/SpecialPreferencesTest.php @@ -7,6 +7,7 @@ */ /** + * @group Preferences * @group Database * * @covers SpecialPreferences @@ -24,7 +25,7 @@ class SpecialPreferencesTest extends MediaWikiTestCase { // Set a low limit $this->setMwGlobals( 'wgMaxSigChars', 2 ); - $user = $this->createMock( 'User' ); + $user = $this->createMock( User::class ); $user->expects( $this->any() ) ->method( 'isAnon' ) ->will( $this->returnValue( false ) );