diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2012-10-24 10:16:32 -0700 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2012-10-24 10:16:32 -0700 |
commit | 515e1b467e58337067ee3a4a8945f449d3c2ef3a (patch) | |
tree | 06ed218ada64bb696e9c6ce22baa79b827df8530 /apps/user_ldap | |
parent | 7454186806d8ebc440f7604d1ff517433bdd9faa (diff) | |
parent | 561cbb2de69a31934c22fc28332b5a14b6fcfc68 (diff) | |
download | nextcloud-server-515e1b467e58337067ee3a4a8945f449d3c2ef3a.tar.gz nextcloud-server-515e1b467e58337067ee3a4a8945f449d3c2ef3a.zip |
Merge pull request #81 from fmms/master
Codestyle add some needed spaces.
Diffstat (limited to 'apps/user_ldap')
-rw-r--r-- | apps/user_ldap/lib/access.php | 2 | ||||
-rw-r--r-- | apps/user_ldap/tests/group_ldap.php | 16 |
2 files changed, 9 insertions, 9 deletions
diff --git a/apps/user_ldap/lib/access.php b/apps/user_ldap/lib/access.php index a500e1bf5b4..6f2f61dc8a3 100644 --- a/apps/user_ldap/lib/access.php +++ b/apps/user_ldap/lib/access.php @@ -657,7 +657,7 @@ abstract class Access { $this->connection->ldapUuidAttribute = $attribute; return true; } - \OCP\Util::writeLog('user_ldap', 'The looked for uuid attr is not '.$attribute.', result was '.print_r($value,true), \OCP\Util::DEBUG); + \OCP\Util::writeLog('user_ldap', 'The looked for uuid attr is not '.$attribute.', result was '.print_r($value, true), \OCP\Util::DEBUG); } return false; diff --git a/apps/user_ldap/tests/group_ldap.php b/apps/user_ldap/tests/group_ldap.php index b953127d86e..2acb8c35a19 100644 --- a/apps/user_ldap/tests/group_ldap.php +++ b/apps/user_ldap/tests/group_ldap.php @@ -29,18 +29,18 @@ class Test_Group_Ldap extends UnitTestCase { OC_Group::useBackend(new OCA\user_ldap\GROUP_LDAP()); $group_ldap = new OCA\user_ldap\GROUP_LDAP(); - $this->assertIsA(OC_Group::getGroups(),gettype(array())); - $this->assertIsA($group_ldap->getGroups(),gettype(array())); + $this->assertIsA(OC_Group::getGroups(), gettype(array())); + $this->assertIsA($group_ldap->getGroups(), gettype(array())); - $this->assertFalse(OC_Group::inGroup('john','dosers'),gettype(false)); - $this->assertFalse($group_ldap->inGroup('john','dosers'),gettype(false)); + $this->assertFalse(OC_Group::inGroup('john','dosers'), gettype(false)); + $this->assertFalse($group_ldap->inGroup('john','dosers'), gettype(false)); //TODO: check also for expected true result. This backend won't be able to do any modifications, maybe use a dummy for this. - $this->assertIsA(OC_Group::getUserGroups('john doe'),gettype(array())); - $this->assertIsA($group_ldap->getUserGroups('john doe'),gettype(array())); + $this->assertIsA(OC_Group::getUserGroups('john doe'), gettype(array())); + $this->assertIsA($group_ldap->getUserGroups('john doe'), gettype(array())); - $this->assertIsA(OC_Group::usersInGroup('campers'),gettype(array())); - $this->assertIsA($group_ldap->usersInGroup('campers'),gettype(array())); + $this->assertIsA(OC_Group::usersInGroup('campers'), gettype(array())); + $this->assertIsA($group_ldap->usersInGroup('campers'), gettype(array())); } } |