From 49466b2953c0f0b24b135152e61627f6f7e54d0a Mon Sep 17 00:00:00 2001 From: charithag Date: Mon, 18 Apr 2016 16:42:53 +0530 Subject: [PATCH] Add devicemgt_admin jax-rs and removed mdm-admin jax-rs --- modules/distribution/src/assembly/bin.xml | 8 -------- .../iot/integration/web/ui/test/common/Constants.java | 4 ++-- .../tests-iot-web-ui/src/test/resources/testng.xml | 6 ++++-- 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/modules/distribution/src/assembly/bin.xml b/modules/distribution/src/assembly/bin.xml index 2e4ced59..c497ee98 100644 --- a/modules/distribution/src/assembly/bin.xml +++ b/modules/distribution/src/assembly/bin.xml @@ -760,14 +760,6 @@ 755 - - - ../p2-profile-gen/target/wso2carbon-core-${carbon.kernel.version}/repository/deployment/server/webapps/mdm-admin.war - - ${pom.artifactId}-${pom.version}/repository/deployment/server/webapps - - devicemgt_admin.war - src/repository/conf/synapse.properties diff --git a/modules/integration/tests-iot-web-ui/src/test/java/org/wso2/carbon/iot/integration/web/ui/test/common/Constants.java b/modules/integration/tests-iot-web-ui/src/test/java/org/wso2/carbon/iot/integration/web/ui/test/common/Constants.java index da35a066..9cb594c5 100644 --- a/modules/integration/tests-iot-web-ui/src/test/java/org/wso2/carbon/iot/integration/web/ui/test/common/Constants.java +++ b/modules/integration/tests-iot-web-ui/src/test/java/org/wso2/carbon/iot/integration/web/ui/test/common/Constants.java @@ -86,11 +86,11 @@ public class Constants { public static final String EMAIL_ERROR = "user.com"; public static final String USER_NAME = "user"; public static final String SHORT_USER_NAME = "us"; - public static final String SHORT_USER_NAME_ERROR_MSG = "Username must be between 3 and 30 characters long."; + public static final String SHORT_USER_NAME_ERROR_MSG = "Provided username is invalid."; public static final String FIRST_NAME_ERROR_MSG = "Firstname is a required field. It cannot be empty."; public static final String LAST_NAME_ERROR_MSG = "Lastname is a required field. It cannot be empty."; public static final String NO_EMAIL_ERROR_MSG = "Email is a required field. It cannot be empty."; - public static final String WRONG_EMAIL_ERROR_MSG = "Provided email is invalid. Please check."; + public static final String WRONG_EMAIL_ERROR_MSG = "Provided email is invalid."; } diff --git a/modules/integration/tests-iot-web-ui/src/test/resources/testng.xml b/modules/integration/tests-iot-web-ui/src/test/resources/testng.xml index 3b2623fb..6df79fcd 100644 --- a/modules/integration/tests-iot-web-ui/src/test/resources/testng.xml +++ b/modules/integration/tests-iot-web-ui/src/test/resources/testng.xml @@ -28,17 +28,19 @@ - + - + +