aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/TaskProcessing/TaskProcessingTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/TaskProcessing/TaskProcessingTest.php')
-rw-r--r--tests/lib/TaskProcessing/TaskProcessingTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/TaskProcessing/TaskProcessingTest.php b/tests/lib/TaskProcessing/TaskProcessingTest.php
index e1ddaf82500..ddf64f23173 100644
--- a/tests/lib/TaskProcessing/TaskProcessingTest.php
+++ b/tests/lib/TaskProcessing/TaskProcessingTest.php
@@ -466,8 +466,8 @@ class TaskProcessingTest extends \Test\TestCase {
public function testOldTasksShouldBeCleanedUp() {
$currentTime = new \DateTime('now');
$timeFactory = $this->createMock(ITimeFactory::class);
- $timeFactory->expects($this->any())->method('getDateTime')->willReturnCallback(fn() => $currentTime);
- $timeFactory->expects($this->any())->method('getTime')->willReturnCallback(fn() => $currentTime->getTimestamp());
+ $timeFactory->expects($this->any())->method('getDateTime')->willReturnCallback(fn () => $currentTime);
+ $timeFactory->expects($this->any())->method('getTime')->willReturnCallback(fn () => $currentTime->getTimestamp());
$this->taskMapper = new TaskMapper(
\OCP\Server::get(IDBConnection::class),