From 06d6cf4ebcc49d97f89b46e127599b97f8fa1800 Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Mon, 24 Apr 2023 19:07:13 +0200 Subject: [PATCH] JobListTest: Fix JobList constructor call Signed-off-by: Marcel Klehr --- tests/lib/BackgroundJob/JobListTest.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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), ); }