diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-10-05 15:12:57 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2020-10-05 20:25:24 +0200 |
commit | d9015a8c94bfd71fe484618a06d276701d3bf9ff (patch) | |
tree | 3f7a1cd6ec2fd982dd02de71b76076f7f01cef70 /tests/lib/Authentication/TwoFactorAuth | |
parent | d357f4b10fe1b59e1e07bb90641d647522c7bfe2 (diff) | |
download | nextcloud-server-d9015a8c94bfd71fe484618a06d276701d3bf9ff.tar.gz nextcloud-server-d9015a8c94bfd71fe484618a06d276701d3bf9ff.zip |
Format code to a single space around binary operators
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests/lib/Authentication/TwoFactorAuth')
-rw-r--r-- | tests/lib/Authentication/TwoFactorAuth/MandatoryTwoFactorTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Authentication/TwoFactorAuth/MandatoryTwoFactorTest.php b/tests/lib/Authentication/TwoFactorAuth/MandatoryTwoFactorTest.php index 5147d763daf..525defd671b 100644 --- a/tests/lib/Authentication/TwoFactorAuth/MandatoryTwoFactorTest.php +++ b/tests/lib/Authentication/TwoFactorAuth/MandatoryTwoFactorTest.php @@ -110,7 +110,7 @@ class MandatoryTwoFactorTest extends TestCase { ]); $this->groupManager->method('isInGroup') ->willReturnCallback(function ($user, $group) { - return $user === 'user123' && $group ==='twofactorers'; + return $user === 'user123' && $group === 'twofactorers'; }); $isEnforced = $this->mandatoryTwoFactor->isEnforcedFor($user); @@ -148,7 +148,7 @@ class MandatoryTwoFactorTest extends TestCase { ]); $this->groupManager->method('isInGroup') ->willReturnCallback(function ($user, $group) { - return $user === 'user123' && $group ==='yoloers'; + return $user === 'user123' && $group === 'yoloers'; }); $isEnforced = $this->mandatoryTwoFactor->isEnforcedFor($user); |