]> source.dussan.org Git - nextcloud-server.git/commitdiff
JobListTest: Fix JobList constructor call 37835/head
authorMarcel Klehr <mklehr@gmx.net>
Mon, 24 Apr 2023 17:07:13 +0000 (19:07 +0200)
committerMarcel Klehr <mklehr@gmx.net>
Mon, 24 Apr 2023 17:07:13 +0000 (19:07 +0200)
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
tests/lib/BackgroundJob/JobListTest.php

index 78565c11780a042776d492a1af9bb03f78e018a1..c15e556d5f7cb4f16a1b983173720c1da7a18da9 100644 (file)
@@ -12,6 +12,7 @@ use OCP\AppFramework\Utility\ITimeFactory;
 use OCP\BackgroundJob\IJob;
 use OCP\DB\QueryBuilder\IQueryBuilder;
 use OCP\IConfig;
+use Psr\Log\LoggerInterface;
 use Test\TestCase;
 
 /**
@@ -44,7 +45,8 @@ class JobListTest extends TestCase {
                $this->instance = new \OC\BackgroundJob\JobList(
                        $this->connection,
                        $this->config,
-                       $this->timeFactory
+                       $this->timeFactory,
+                       \OC::$server->get(LoggerInterface::class),
                );
        }