summaryrefslogtreecommitdiffstats
path: root/tests/lib
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-11-11 20:46:22 +0100
committerMorris Jobke <hey@morrisjobke.de>2020-11-11 21:30:45 +0100
commit42a033bbc48f4de66f5282d5202d540a46f69be5 (patch)
treeb8da63d1324359ee3290961095996582caa7a029 /tests/lib
parent48f1f961b9e01249a9e896fc0fabb7fbf0a42f8b (diff)
downloadnextcloud-server-42a033bbc48f4de66f5282d5202d540a46f69be5.tar.gz
nextcloud-server-42a033bbc48f4de66f5282d5202d540a46f69be5.zip
Change to full class names for the encryption app DI in preparation of auto-wiring
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/Traits/EncryptionTrait.php4
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);