From 992356e1a0c1bc1f02e38f7df4f4f234f58e3bcc Mon Sep 17 00:00:00 2001 From: rodicasutu Date: Thu, 21 Jan 2021 09:01:46 +0200 Subject: [PATCH] review changes & changes to replace userService method that create uses --- rm-automation/rm-automation-community-rest-api/pom.xml | 10 +++++----- .../rest/rm/community/util/CommonTestUtils.java | 5 +++++ 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/rm-automation/rm-automation-community-rest-api/pom.xml b/rm-automation/rm-automation-community-rest-api/pom.xml index e41c879044..202a565fe6 100644 --- a/rm-automation/rm-automation-community-rest-api/pom.xml +++ b/rm-automation/rm-automation-community-rest-api/pom.xml @@ -58,15 +58,15 @@ restapi ${tas.restapi.version} - - com.fasterxml.jackson.core - jackson-databind - + + com.fasterxml.jackson.core + jackson-databind + org.alfresco.tas utility - + org.alfresco.tas diff --git a/rm-automation/rm-automation-community-rest-api/src/main/java/org/alfresco/rest/rm/community/util/CommonTestUtils.java b/rm-automation/rm-automation-community-rest-api/src/main/java/org/alfresco/rest/rm/community/util/CommonTestUtils.java index 7c8b528af0..dbe6a0862d 100644 --- a/rm-automation/rm-automation-community-rest-api/src/main/java/org/alfresco/rest/rm/community/util/CommonTestUtils.java +++ b/rm-automation/rm-automation-community-rest-api/src/main/java/org/alfresco/rest/rm/community/util/CommonTestUtils.java @@ -37,6 +37,11 @@ import java.util.UUID; */ public class CommonTestUtils { + /** + * The default pattern used for the user full name when users are created with tas utility + */ + public static final String USER_FULLNAME_PATTERN = "FN-%1$s LN-%1$s"; + /** Private constructor to prevent instantiation. */ private CommonTestUtils() {