aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-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),
);
}