summaryrefslogtreecommitdiffstats
path: root/apps/encryption/tests/hooks/UserHooksTest.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-08-24 12:03:27 +0200
committerLukas Reschke <lukas@owncloud.com>2015-08-24 12:03:27 +0200
commitcca35f0c3e94ce5270e3f2fa3619d08a976ab650 (patch)
tree5f2c494b4401a275f93e68a89da6e5e69366ee29 /apps/encryption/tests/hooks/UserHooksTest.php
parentfe568ab64d35c8876f8ae269ff9272c6a5a02825 (diff)
parent854fd63ea907a870f1916d266e18aaba97820e32 (diff)
downloadnextcloud-server-cca35f0c3e94ce5270e3f2fa3619d08a976ab650.tar.gz
nextcloud-server-cca35f0c3e94ce5270e3f2fa3619d08a976ab650.zip
Merge pull request #18121 from owncloud/enc_improve_privkey_encryption
use password hash to encrypt private key
Diffstat (limited to 'apps/encryption/tests/hooks/UserHooksTest.php')
-rw-r--r--apps/encryption/tests/hooks/UserHooksTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/encryption/tests/hooks/UserHooksTest.php b/apps/encryption/tests/hooks/UserHooksTest.php
index 921c924d015..aa16a4d8703 100644
--- a/apps/encryption/tests/hooks/UserHooksTest.php
+++ b/apps/encryption/tests/hooks/UserHooksTest.php
@@ -114,7 +114,7 @@ class UserHooksTest extends TestCase {
->willReturnOnConsecutiveCalls(true, false);
$this->cryptMock->expects($this->exactly(4))
- ->method('symmetricEncryptFileContent')
+ ->method('encryptPrivateKey')
->willReturn(true);
$this->cryptMock->expects($this->any())