aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/TaskProcessing/TaskProcessingTest.php
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2024-04-30 17:01:41 +0200
committerMarcel Klehr <mklehr@gmx.net>2024-05-14 11:38:39 +0200
commitee7592ffdd67d8ac24b8f3d3b3f87b8b28932d5b (patch)
treecee511abdd7dc0d14571e1aa661b1e76ba5ae475 /tests/lib/TaskProcessing/TaskProcessingTest.php
parent17486ad15ba1575d7e31d8d4195a86cd9ef450b0 (diff)
downloadnextcloud-server-ee7592ffdd67d8ac24b8f3d3b3f87b8b28932d5b.tar.gz
nextcloud-server-ee7592ffdd67d8ac24b8f3d3b3f87b8b28932d5b.zip
fix: Run cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
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),