summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/tests
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2020-04-16 09:25:17 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2020-04-16 09:25:17 +0200
commitd9990b09b892e101e584df7f35ba02ff6e5dd708 (patch)
tree75e43f6aedde48728a11c496463d6b3144fa70db /apps/user_ldap/tests
parent1f2df2f6bc025521800763bb67d50608a138f73a (diff)
downloadnextcloud-server-d9990b09b892e101e584df7f35ba02ff6e5dd708.tar.gz
nextcloud-server-d9990b09b892e101e584df7f35ba02ff6e5dd708.zip
PHP-CS-Fixer green
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/user_ldap/tests')
-rw-r--r--apps/user_ldap/tests/User/UserTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/user_ldap/tests/User/UserTest.php b/apps/user_ldap/tests/User/UserTest.php
index afefaf04c78..373f5cc9326 100644
--- a/apps/user_ldap/tests/User/UserTest.php
+++ b/apps/user_ldap/tests/User/UserTest.php
@@ -1197,7 +1197,7 @@ class UserTest extends \Test\TestCase {
$this->access->expects($this->any())
->method('search')
->willReturnCallback(function ($filter, $base) {
- if($base === $this->dn) {
+ if ($base === $this->dn) {
return [
[
'pwdchangedtime' => [(new \DateTime())->sub(new \DateInterval('P28D'))->format('Ymdhis').'Z'],
@@ -1205,7 +1205,7 @@ class UserTest extends \Test\TestCase {
],
];
}
- if($base === 'cn=default,ou=policies,dc=foo,dc=bar') {
+ if ($base === 'cn=default,ou=policies,dc=foo,dc=bar') {
return [
[
'pwdmaxage' => ['2592000'],
@@ -1260,7 +1260,7 @@ class UserTest extends \Test\TestCase {
$this->access->expects($this->any())
->method('search')
->willReturnCallback(function ($filter, $base) {
- if($base === $this->dn) {
+ if ($base === $this->dn) {
return [
[
'pwdpolicysubentry' => ['cn=custom,ou=policies,dc=foo,dc=bar'],