diff options
author | Thomas Mueller <thomas.mueller@tmit.eu> | 2012-09-07 15:22:01 +0200 |
---|---|---|
committer | Thomas Mueller <thomas.mueller@tmit.eu> | 2012-09-07 15:22:01 +0200 |
commit | 3829460ab8cbb6de65c53583a20fd04cbe7927dd (patch) | |
tree | 4dc24845a5eb31b17510a621e14c15b51f16bf7b /tests/lib/user | |
parent | 785aa751bb5f9a4bcdd677b96207550482e17d3c (diff) | |
download | nextcloud-server-3829460ab8cbb6de65c53583a20fd04cbe7927dd.tar.gz nextcloud-server-3829460ab8cbb6de65c53583a20fd04cbe7927dd.zip |
adding space between) and {
Diffstat (limited to 'tests/lib/user')
-rw-r--r-- | tests/lib/user/backend.php | 6 | ||||
-rw-r--r-- | tests/lib/user/database.php | 8 | ||||
-rw-r--r-- | tests/lib/user/dummy.php | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/tests/lib/user/backend.php b/tests/lib/user/backend.php index 984249e84eb..c69c1bad512 100644 --- a/tests/lib/user/backend.php +++ b/tests/lib/user/backend.php @@ -41,11 +41,11 @@ abstract class Test_User_Backend extends UnitTestCase { * test cases can override this in order to clean up created user * @return array */ - public function getUser(){ + public function getUser() { return uniqid('test_'); } - public function testAddRemove(){ + public function testAddRemove() { //get the number of groups we start with, in case there are exising groups $startCount=count($this->backend->getUsers()); @@ -69,7 +69,7 @@ abstract class Test_User_Backend extends UnitTestCase { $this->assertFalse((array_search($name2,$this->backend->getUsers())!==false)); } - public function testLogin(){ + public function testLogin() { $name1=$this->getUser(); $name2=$this->getUser(); diff --git a/tests/lib/user/database.php b/tests/lib/user/database.php index f484ffa78f7..fe7d87c44de 100644 --- a/tests/lib/user/database.php +++ b/tests/lib/user/database.php @@ -26,18 +26,18 @@ class Test_User_Database extends Test_User_Backend { * test cases can override this in order to clean up created user * @return array */ - public function getUser(){ + public function getUser() { $user=uniqid('test_'); $this->users[]=$user; return $user; } - public function setUp(){ + public function setUp() { $this->backend=new OC_User_Dummy(); } - public function tearDown(){ - foreach($this->users as $user){ + public function tearDown() { + foreach($this->users as $user) { $this->backend->deleteUser($user); } } diff --git a/tests/lib/user/dummy.php b/tests/lib/user/dummy.php index 062f55ba079..e417fd97603 100644 --- a/tests/lib/user/dummy.php +++ b/tests/lib/user/dummy.php @@ -21,7 +21,7 @@ */ class Test_User_Dummy extends Test_User_Backend { - public function setUp(){ + public function setUp() { $this->backend=new OC_User_Dummy(); } } |