aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/BackgroundJob
diff options
context:
space:
mode:
authorMarcel Klehr <mklehr@gmx.net>2023-04-24 19:07:13 +0200
committerMarcel Klehr <mklehr@gmx.net>2023-04-24 19:07:13 +0200
commit06d6cf4ebcc49d97f89b46e127599b97f8fa1800 (patch)
tree7e31f1c1bba70105df2e8df42813762b2f4b35d3 /tests/lib/BackgroundJob
parent524d053eb2de5f412a65863368520719628fb002 (diff)
downloadnextcloud-server-06d6cf4ebcc49d97f89b46e127599b97f8fa1800.tar.gz
nextcloud-server-06d6cf4ebcc49d97f89b46e127599b97f8fa1800.zip
JobListTest: Fix JobList constructor call
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Diffstat (limited to 'tests/lib/BackgroundJob')
-rw-r--r--tests/lib/BackgroundJob/JobListTest.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/lib/BackgroundJob/JobListTest.php b/tests/lib/BackgroundJob/JobListTest.php
index 78565c11780..c15e556d5f7 100644
--- a/tests/lib/BackgroundJob/JobListTest.php
+++ b/tests/lib/BackgroundJob/JobListTest.php
@@ -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),
);
}