summaryrefslogtreecommitdiffstats
path: root/tests/lib/user
diff options
context:
space:
mode:
authorFelix Moeller <mail@felixmoeller.de>2012-11-02 19:53:02 +0100
committerFelix Moeller <mail@felixmoeller.de>2012-11-02 19:53:02 +0100
commitafadf93d317e27fd848f1e70d5849169f862aed9 (patch)
tree4a9ed633a7735a1be3cf33fdad31ab981fd64a6b /tests/lib/user
parentd9e97610999ddf9f3a060b786f22d0abb054521e (diff)
downloadnextcloud-server-afadf93d317e27fd848f1e70d5849169f862aed9.tar.gz
nextcloud-server-afadf93d317e27fd848f1e70d5849169f862aed9.zip
Checkstyle: many fixes
Diffstat (limited to 'tests/lib/user')
-rw-r--r--tests/lib/user/backend.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/lib/user/backend.php b/tests/lib/user/backend.php
index c69c1bad512..eb3aa91b683 100644
--- a/tests/lib/user/backend.php
+++ b/tests/lib/user/backend.php
@@ -53,20 +53,20 @@ abstract class Test_User_Backend extends UnitTestCase {
$name2=$this->getUser();
$this->backend->createUser($name1,'');
$count=count($this->backend->getUsers())-$startCount;
- $this->assertEqual(1,$count);
- $this->assertTrue((array_search($name1,$this->backend->getUsers())!==false));
- $this->assertFalse((array_search($name2,$this->backend->getUsers())!==false));
+ $this->assertEqual(1, $count);
+ $this->assertTrue((array_search($name1, $this->backend->getUsers())!==false));
+ $this->assertFalse((array_search($name2, $this->backend->getUsers())!==false));
$this->backend->createUser($name2,'');
$count=count($this->backend->getUsers())-$startCount;
- $this->assertEqual(2,$count);
- $this->assertTrue((array_search($name1,$this->backend->getUsers())!==false));
- $this->assertTrue((array_search($name2,$this->backend->getUsers())!==false));
+ $this->assertEqual(2, $count);
+ $this->assertTrue((array_search($name1, $this->backend->getUsers())!==false));
+ $this->assertTrue((array_search($name2, $this->backend->getUsers())!==false));
$this->backend->deleteUser($name2);
$count=count($this->backend->getUsers())-$startCount;
- $this->assertEqual(1,$count);
- $this->assertTrue((array_search($name1,$this->backend->getUsers())!==false));
- $this->assertFalse((array_search($name2,$this->backend->getUsers())!==false));
+ $this->assertEqual(1, $count);
+ $this->assertTrue((array_search($name1, $this->backend->getUsers())!==false));
+ $this->assertFalse((array_search($name2, $this->backend->getUsers())!==false));
}
public function testLogin() {