summaryrefslogtreecommitdiffstats
path: root/apps/encryption
diff options
context:
space:
mode:
Diffstat (limited to 'apps/encryption')
-rw-r--r--apps/encryption/lib/Users/Setup.php2
-rw-r--r--apps/encryption/tests/RecoveryTest.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/encryption/lib/Users/Setup.php b/apps/encryption/lib/Users/Setup.php
index 0ff488ae582..b9fc7aea4d9 100644
--- a/apps/encryption/lib/Users/Setup.php
+++ b/apps/encryption/lib/Users/Setup.php
@@ -64,7 +64,7 @@ class Setup {
$this->user = $userSession && $userSession->isLoggedIn() ? $userSession->getUser()->getUID() : false;
$this->crypt = $crypt;
$this->keyManager = $keyManager;
- }
+ }
/**
* @param string $uid user id
diff --git a/apps/encryption/tests/RecoveryTest.php b/apps/encryption/tests/RecoveryTest.php
index a41c2ff9fea..ce5c1f006a6 100644
--- a/apps/encryption/tests/RecoveryTest.php
+++ b/apps/encryption/tests/RecoveryTest.php
@@ -110,8 +110,8 @@ class RecoveryTest extends TestCase {
$this->cryptMock->expects($this->once())
->method('createKeyPair')
->willReturn([
- 'publicKey' => 'privateKey',
- 'privateKey' => 'publicKey',
+ 'publicKey' => 'privateKey',
+ 'privateKey' => 'publicKey',
]);
$this->keyManagerMock->expects($this->once())