X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=tests%2Fphpunit%2Fincludes%2Fdeferred%2FDeferredUpdatesTest.php;h=2c199bc12aa1ca5b878238a4fd72c85d542b710f;hb=f7e1770fb832aa77bf4e16ce8cc815f2b24dd10d;hp=d7ad1d1ed655c80058ee29c14f6fc0d0cd4b91b9;hpb=3287201b673c6e52c04e9f8771c0e71d1a617910;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/includes/deferred/DeferredUpdatesTest.php b/tests/phpunit/includes/deferred/DeferredUpdatesTest.php index d7ad1d1ed6..2c199bc12a 100644 --- a/tests/phpunit/includes/deferred/DeferredUpdatesTest.php +++ b/tests/phpunit/includes/deferred/DeferredUpdatesTest.php @@ -13,8 +13,7 @@ class DeferredUpdatesTest extends MediaWikiTestCase { $post = DeferredUpdates::POSTSEND; $all = DeferredUpdates::ALL; - $update = $this->getMockBuilder( 'DeferrableUpdate' ) - ->getMock(); + $update = $this->getMock( DeferrableUpdate::class ); $update->expects( $this->never() ) ->method( 'doUpdate' );