diff options
Diffstat (limited to 'tests/lib/Lock/DBLockingProviderTest.php')
-rw-r--r-- | tests/lib/Lock/DBLockingProviderTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Lock/DBLockingProviderTest.php b/tests/lib/Lock/DBLockingProviderTest.php index 73a7b6c3f83..ac58538284c 100644 --- a/tests/lib/Lock/DBLockingProviderTest.php +++ b/tests/lib/Lock/DBLockingProviderTest.php @@ -54,9 +54,9 @@ class DBLockingProviderTest extends LockingProvider { $this->timeFactory = $this->createMock(ITimeFactory::class); $this->timeFactory->expects($this->any()) ->method('getTime') - ->will($this->returnCallback(function () { + ->willReturnCallback(function () { return $this->currentTime; - })); + }); parent::setUp(); } |