diff options
Diffstat (limited to 'tests/lib/user/database.php')
-rw-r--r-- | tests/lib/user/database.php | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/tests/lib/user/database.php b/tests/lib/user/database.php index fe7d87c44de..d7cc39ae387 100644 --- a/tests/lib/user/database.php +++ b/tests/lib/user/database.php @@ -21,19 +21,14 @@ */ class Test_User_Database extends Test_User_Backend { - /** - * get a new unique user name - * test cases can override this in order to clean up created user - * @return array - */ public function getUser() { - $user=uniqid('test_'); + $user = parent::getUser(); $this->users[]=$user; return $user; } public function setUp() { - $this->backend=new OC_User_Dummy(); + $this->backend=new OC_User_Database(); } public function tearDown() { |