mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
REPO-1027: V1 REST API - minor: tweak TestSiteMembers
- to make it repeatable (TODO further splitting/refactoring) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/BRANCHES/DEV/5.2.N/root@130918 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1400,8 +1400,11 @@ public class RepoService
|
||||
|
||||
public TestPerson createUser()
|
||||
{
|
||||
String username = "user" + System.currentTimeMillis();
|
||||
PersonInfo personInfo = new PersonInfo("FirstName", "LastName", username, "password", null, "skype", "location",
|
||||
long timeMillis = System.currentTimeMillis();
|
||||
String firstname = "first" + timeMillis;
|
||||
String lastname = "last" + timeMillis;
|
||||
String username = "user" + timeMillis;
|
||||
PersonInfo personInfo = new PersonInfo(firstname, lastname, username, "password", null, "skype", "location",
|
||||
"telephone", "mob", "instant", "google");
|
||||
TestPerson person = createUser(personInfo);
|
||||
return person;
|
||||
|
Reference in New Issue
Block a user