Merge "Revert "Log the reason why revision->getContent() returns null""
[lhc/web/wiklou.git] / tests / phpunit / includes / AutopromoteTest.php
index 24f6596..8c4a488 100644 (file)
@@ -20,7 +20,7 @@ class AutopromoteTest extends MediaWikiTestCase {
                ] );
 
                /** @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' )