summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@owncloud.com>2013-10-08 19:22:45 +0200
committerAndreas Fischer <bantu@owncloud.com>2013-10-08 19:36:37 +0200
commit1f11dc72009e25ba0c6259289431c192eae740df (patch)
treee2ec22bdbb5e4840c0f253b0b6fb3885b8a09907 /tests
parent46cd3082b013f90fb8ce7269f40bb26d85bbee00 (diff)
downloadnextcloud-server-1f11dc72009e25ba0c6259289431c192eae740df.tar.gz
nextcloud-server-1f11dc72009e25ba0c6259289431c192eae740df.zip
Use parent:: in Test_User_Database::getUser().
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/user/database.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/lib/user/database.php b/tests/lib/user/database.php
index 9f21265c987..d7cc39ae387 100644
--- a/tests/lib/user/database.php
+++ b/tests/lib/user/database.php
@@ -21,13 +21,8 @@
*/
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;
}