diff options
Diffstat (limited to 'tests/lib/Traits/EncryptionTrait.php')
-rw-r--r-- | tests/lib/Traits/EncryptionTrait.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Traits/EncryptionTrait.php b/tests/lib/Traits/EncryptionTrait.php index 8799ce72fd0..5ac63c54a5a 100644 --- a/tests/lib/Traits/EncryptionTrait.php +++ b/tests/lib/Traits/EncryptionTrait.php @@ -60,9 +60,9 @@ trait EncryptionTrait { \OC_Util::setupFS($name); $container = $this->encryptionApp->getContainer(); /** @var KeyManager $keyManager */ - $keyManager = $container->query('KeyManager'); + $keyManager = $container->query(KeyManager::class); /** @var Setup $userSetup */ - $userSetup = $container->query('UserSetup'); + $userSetup = $container->query(Setup::class); $userSetup->setupUser($name, $password); $this->encryptionApp->setUp(); $keyManager->init($name, $password); |