dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add tablesUsed to RevisionStoreDbTest
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
specials
/
SpecialPreferencesTest.php
diff --git
a/tests/phpunit/includes/specials/SpecialPreferencesTest.php
b/tests/phpunit/includes/specials/SpecialPreferencesTest.php
index
c8158ae
..
bdfbb62
100644
(file)
--- a/
tests/phpunit/includes/specials/SpecialPreferencesTest.php
+++ b/
tests/phpunit/includes/specials/SpecialPreferencesTest.php
@@
-25,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 ) );