diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2023-06-29 15:41:40 +0200 |
---|---|---|
committer | Côme Chilliet <91878298+come-nc@users.noreply.github.com> | 2023-08-08 09:14:16 +0200 |
commit | 1e06b61f591d74bfaa554578e2ca647d915fcb8f (patch) | |
tree | 8c73bf57a5552dd05a0b8fabcbc3b87eb38d81c0 /apps/encryption/tests/Command | |
parent | d7e2813eca2da348fde85472e7b9fcb9b4843a93 (diff) | |
download | nextcloud-server-1e06b61f591d74bfaa554578e2ca647d915fcb8f.tar.gz nextcloud-server-1e06b61f591d74bfaa554578e2ca647d915fcb8f.zip |
Migrate away from ILogger in encryption
And modernize code a bit
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'apps/encryption/tests/Command')
-rw-r--r-- | apps/encryption/tests/Command/FixEncryptedVersionTest.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/encryption/tests/Command/FixEncryptedVersionTest.php b/apps/encryption/tests/Command/FixEncryptedVersionTest.php index 2a6c86ef5b2..54e8b41ed6c 100644 --- a/apps/encryption/tests/Command/FixEncryptedVersionTest.php +++ b/apps/encryption/tests/Command/FixEncryptedVersionTest.php @@ -24,6 +24,7 @@ namespace OCA\Encryption\Tests\Command; use OC\Files\View; use OCA\Encryption\Command\FixEncryptedVersion; use OCA\Encryption\Util; +use Psr\Log\LoggerInterface; use Symfony\Component\Console\Tester\CommandTester; use Test\TestCase; use Test\Traits\EncryptionTrait; @@ -70,7 +71,7 @@ class FixEncryptedVersionTest extends TestCase { $this->fixEncryptedVersion = new FixEncryptedVersion( \OC::$server->getConfig(), - \OC::$server->getLogger(), + \OC::$server->get(LoggerInterface::class), \OC::$server->getRootFolder(), \OC::$server->getUserManager(), $this->util, |