summaryrefslogtreecommitdiffstats
path: root/tests/lib/Authentication/TwoFactorAuth/MandatoryTwoFactorTest.php
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2020-04-09 15:53:09 +0200
committerGitHub <noreply@github.com>2020-04-09 15:53:09 +0200
commitc56a273b39186c509c57ef6bec221d3c4e3d81d3 (patch)
treeb2e4095e763874699646c2c90e41785c99b6f247 /tests/lib/Authentication/TwoFactorAuth/MandatoryTwoFactorTest.php
parentf0dd71ccd266ede38114d25be035abb3f2661fc8 (diff)
parentafbd9c4e6ed834e713039f2cff88ba3eec03dadb (diff)
downloadnextcloud-server-c56a273b39186c509c57ef6bec221d3c4e3d81d3.tar.gz
nextcloud-server-c56a273b39186c509c57ef6bec221d3c4e3d81d3.zip
Merge pull request #20383 from nextcloud/techdebt/function-spacing
Unify function spacing to PSR2 recommendation
Diffstat (limited to 'tests/lib/Authentication/TwoFactorAuth/MandatoryTwoFactorTest.php')
-rw-r--r--tests/lib/Authentication/TwoFactorAuth/MandatoryTwoFactorTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Authentication/TwoFactorAuth/MandatoryTwoFactorTest.php b/tests/lib/Authentication/TwoFactorAuth/MandatoryTwoFactorTest.php
index 92d072608f2..e1e401e7683 100644
--- a/tests/lib/Authentication/TwoFactorAuth/MandatoryTwoFactorTest.php
+++ b/tests/lib/Authentication/TwoFactorAuth/MandatoryTwoFactorTest.php
@@ -109,7 +109,7 @@ class MandatoryTwoFactorTest extends TestCase {
['twofactor_enforced_excluded_groups', [], []],
]);
$this->groupManager->method('isInGroup')
- ->willReturnCallback(function($user, $group) {
+ ->willReturnCallback(function ($user, $group) {
return $user === 'user123' && $group ==='twofactorers';
});
@@ -147,7 +147,7 @@ class MandatoryTwoFactorTest extends TestCase {
['twofactor_enforced_excluded_groups', [], ['yoloers']],
]);
$this->groupManager->method('isInGroup')
- ->willReturnCallback(function($user, $group) {
+ ->willReturnCallback(function ($user, $group) {
return $user === 'user123' && $group ==='yoloers';
});