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 "MimeAnalyzer: Detect magic bytes for mp3"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
deferred
/
DeferredUpdatesTest.php
diff --git
a/tests/phpunit/includes/deferred/DeferredUpdatesTest.php
b/tests/phpunit/includes/deferred/DeferredUpdatesTest.php
index
d7ad1d1
..
2c199bc
100644
(file)
--- 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' );