Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-09 10:22:29 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-09 11:16:08 +0300
commit2fbad1ed72bc9ef591a6f35558eb02e7b76ffd1b (patch)
treea3da09ffec08d6c8abc3bf0fabb7f8c8a1c830f6 /apps/encryption
parent1575bd838f2e938b18b04bcdcc28e2fc24d95c45 (diff)
Fix (array) indent style to always use one tab
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
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())