summaryrefslogtreecommitdiffstats
path: root/apps/encryption/tests/controller
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2015-08-07 14:04:17 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2015-08-07 15:21:08 +0200
commit62bc0e5264af50be48dbcbb720b7bd16e8d88df5 (patch)
treead0c95913483a7ed2d866066af4ed3d5c00bab6c /apps/encryption/tests/controller
parent43888bb9bf46928acfe79084377b96133609ef6c (diff)
downloadnextcloud-server-62bc0e5264af50be48dbcbb720b7bd16e8d88df5.tar.gz
nextcloud-server-62bc0e5264af50be48dbcbb720b7bd16e8d88df5.zip
use password hash instead of the plain password to encrypt the private key
Diffstat (limited to 'apps/encryption/tests/controller')
-rw-r--r--apps/encryption/tests/controller/SettingsControllerTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/encryption/tests/controller/SettingsControllerTest.php b/apps/encryption/tests/controller/SettingsControllerTest.php
index ed8135b9c4d..d985c7d7d25 100644
--- a/apps/encryption/tests/controller/SettingsControllerTest.php
+++ b/apps/encryption/tests/controller/SettingsControllerTest.php
@@ -188,7 +188,7 @@ class SettingsControllerTest extends TestCase {
$this->cryptMock
->expects($this->once())
- ->method('symmetricEncryptFileContent')
+ ->method('encryptPrivateKey')
->willReturn('encryptedKey');
$this->cryptMock