summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-10-13 20:20:10 +0200
committerBart Visscher <bartv@thisnet.nl>2012-10-13 20:23:02 +0200
commit3fef4564f0be9c3b0e3651d13b6e8312cd90f7a8 (patch)
tree4860b261031d75ed494d10b5001f8b63d4125f91 /tests
parent730d7c4e7de3a07c95f38763b9cff842653fa69a (diff)
downloadnextcloud-server-3fef4564f0be9c3b0e3651d13b6e8312cd90f7a8.tar.gz
nextcloud-server-3fef4564f0be9c3b0e3651d13b6e8312cd90f7a8.zip
Give share test users a unique prefix
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/share/share.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/lib/share/share.php b/tests/lib/share/share.php
index dc9a518d9db..3cad3a28680 100644
--- a/tests/lib/share/share.php
+++ b/tests/lib/share/share.php
@@ -33,10 +33,10 @@ class Test_Share extends UnitTestCase {
public function setUp() {
OC_User::clearBackends();
OC_User::useBackend('dummy');
- $this->user1 = uniqid('user_');
- $this->user2 = uniqid('user_');
- $this->user3 = uniqid('user_');
- $this->user4 = uniqid('user_');
+ $this->user1 = uniqid('user1_');
+ $this->user2 = uniqid('user2_');
+ $this->user3 = uniqid('user3_');
+ $this->user4 = uniqid('user4_');
OC_User::createUser($this->user1, 'pass');
OC_User::createUser($this->user2, 'pass');
OC_User::createUser($this->user3, 'pass');