diff options
Diffstat (limited to 'tests/lib/Traits/EncryptionTrait.php')
-rw-r--r-- | tests/lib/Traits/EncryptionTrait.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/lib/Traits/EncryptionTrait.php b/tests/lib/Traits/EncryptionTrait.php index 9cb64c12d00..23f188ccd66 100644 --- a/tests/lib/Traits/EncryptionTrait.php +++ b/tests/lib/Traits/EncryptionTrait.php @@ -16,6 +16,7 @@ use OCA\Encryption\KeyManager; use OCA\Encryption\Users\Setup; use OCP\Encryption\IManager; use OCP\IUserManager; +use Psr\Log\LoggerInterface; /** * Enables encryption @@ -82,7 +83,7 @@ trait EncryptionTrait { $encryptionWrapper = new EncryptionWrapper( new ArrayCache(), \OC::$server->getEncryptionManager(), - \OC::$server->getLogger() + \OC::$server->get(LoggerInterface::class) ); $this->registerStorageWrapper('oc_encryption', [$encryptionWrapper, 'wrapStorage']); |