diff --git a/tests/ClassifierTest.php b/tests/ClassifierTest.php index c497bb9c..96a986f9 100644 --- a/tests/ClassifierTest.php +++ b/tests/ClassifierTest.php @@ -77,7 +77,7 @@ public function setUp(): void { ->willReturnCallback(fn ($msg) => print($msg."\n")); $logger->setCliOutput($cliOutput); $this->jobList = \OC::$server->get(IJobList::class); - $this->config = \OC::$server->get(IAppConfig::class); + $this->config = \OC::$server->getRegisteredAppContainer('recognize')->get(IAppConfig::class); $this->queue = \OC::$server->get(QueueService::class); foreach (self::TEST_FILES as $filename) { try {