aboutsummaryrefslogtreecommitdiffstats
path: root/tests/lib/BackgroundJob/TestJob.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/BackgroundJob/TestJob.php')
-rw-r--r--tests/lib/BackgroundJob/TestJob.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/BackgroundJob/TestJob.php b/tests/lib/BackgroundJob/TestJob.php
index cc7a4651c4b..54b0ec7d9ea 100644
--- a/tests/lib/BackgroundJob/TestJob.php
+++ b/tests/lib/BackgroundJob/TestJob.php
@@ -23,7 +23,7 @@ class TestJob extends \OCP\BackgroundJob\Job {
* @param callable $callback
*/
public function __construct(ITimeFactory $time = null, $testCase = null, $callback = null) {
- parent::__construct($time ?? \OC::$server->get(ITimeFactory::class));
+ parent::__construct($time ?? \OCP\Server::get(ITimeFactory::class));
$this->testCase = $testCase;
$this->callback = $callback;
}