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
Merge "resourceloader: Re-enable testGetBlobCached() test case"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
AutopromoteTest.php
diff --git
a/tests/phpunit/includes/AutopromoteTest.php
b/tests/phpunit/includes/AutopromoteTest.php
index
24f6596
..
8c4a488
100644
(file)
--- a/
tests/phpunit/includes/AutopromoteTest.php
+++ b/
tests/phpunit/includes/AutopromoteTest.php
@@
-20,7
+20,7
@@
class AutopromoteTest extends MediaWikiTestCase {
] );
/** @var PHPUnit_Framework_MockObject_MockObject|User $userMock */
] );
/** @var PHPUnit_Framework_MockObject_MockObject|User $userMock */
- $userMock = $this->getMock(
'User'
, [ 'getEditCount' ] );
+ $userMock = $this->getMock(
User::class
, [ 'getEditCount' ] );
if ( $requirement > 0 ) {
$userMock->expects( $this->once() )
->method( 'getEditCount' )
if ( $requirement > 0 ) {
$userMock->expects( $this->once() )
->method( 'getEditCount' )