From df47445c014b83d8400bada6dad53d26d24fd803 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 19 Apr 2021 14:06:34 +0200 Subject: Fix unit tests Signed-off-by: Joas Schilling --- core/Command/Maintenance/Install.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core/Command/Maintenance') diff --git a/core/Command/Maintenance/Install.php b/core/Command/Maintenance/Install.php index fc219e79bcd..33bb967f08c 100644 --- a/core/Command/Maintenance/Install.php +++ b/core/Command/Maintenance/Install.php @@ -37,6 +37,7 @@ use OC\Installer; use OC\Setup; use OC\SystemConfig; use OCP\Defaults; +use Psr\Log\LoggerInterface; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Helper\QuestionHelper; use Symfony\Component\Console\Input\InputInterface; @@ -85,7 +86,7 @@ class Install extends Command { $this->iniGetWrapper, $server->getL10N('lib'), $server->query(Defaults::class), - $server->getLogger(), + $server->get(LoggerInterface::class), $server->getSecureRandom(), \OC::$server->query(Installer::class) ); -- cgit v1.2.3