summaryrefslogtreecommitdiffstats
path: root/tests/lib
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2016-03-02 13:58:06 +0100
committerBjoern Schiessle <schiessle@owncloud.com>2016-03-18 11:06:14 +0100
commit5e267589d40400223e5dce692568ab2933be14f7 (patch)
tree018f66a48dacf80ab512c3d1898359f420b173b6 /tests/lib
parenta6c921267e00d0fb5021e8bdbd4d202931d7a58a (diff)
downloadnextcloud-server-5e267589d40400223e5dce692568ab2933be14f7.tar.gz
nextcloud-server-5e267589d40400223e5dce692568ab2933be14f7.zip
only create and update user specific key if no master key is enabled
Diffstat (limited to 'tests/lib')
-rw-r--r--tests/lib/traits/encryptiontrait.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/traits/encryptiontrait.php b/tests/lib/traits/encryptiontrait.php
index 92ba3734873..7fad5d826ed 100644
--- a/tests/lib/traits/encryptiontrait.php
+++ b/tests/lib/traits/encryptiontrait.php
@@ -63,7 +63,7 @@ trait EncryptionTrait {
$keyManager = $container->query('KeyManager');
/** @var Setup $userSetup */
$userSetup = $container->query('UserSetup');
- $userSetup->setupServerSide($name, $password);
+ $userSetup->setupUser($name, $password);
$keyManager->init($name, $password);
}