summaryrefslogtreecommitdiffstats
path: root/vid-automation/src/main
diff options
context:
space:
mode:
authorIttay Stern <ittay.stern@att.com>2020-02-16 16:41:11 +0200
committerIttay Stern <ittay.stern@att.com>2020-02-16 17:14:44 +0200
commit87b8ba7260d6e358ce824efd5135584874977cb6 (patch)
treeee009f753159a7226fd2989328d9e8388dbcd316 /vid-automation/src/main
parentfa2918d945c6fad84055caca8912d2efe242ed6f (diff)
Test filter owning-entities from /category_parameter by permissions
Issue-ID: VID-758 Change-Id: I9b5dc8906067c4f077ba2e03073e6dface6aa86c Signed-off-by: Ittay Stern <ittay.stern@att.com>
Diffstat (limited to 'vid-automation/src/main')
-rw-r--r--vid-automation/src/main/java/org/onap/sdc/ci/tests/datatypes/UserCredentials.java4
-rw-r--r--vid-automation/src/main/java/vid/automation/test/Constants.java2
2 files changed, 5 insertions, 1 deletions
diff --git a/vid-automation/src/main/java/org/onap/sdc/ci/tests/datatypes/UserCredentials.java b/vid-automation/src/main/java/org/onap/sdc/ci/tests/datatypes/UserCredentials.java
index 5dec39541..88b2a280d 100644
--- a/vid-automation/src/main/java/org/onap/sdc/ci/tests/datatypes/UserCredentials.java
+++ b/vid-automation/src/main/java/org/onap/sdc/ci/tests/datatypes/UserCredentials.java
@@ -42,6 +42,10 @@ public class UserCredentials extends User {
this.copyData(user);
}
+ public UserCredentials(vid.automation.test.model.User user) {
+ this(user.credentials.userId, user.credentials.password, "", "", "");
+ }
+
public String getPassword() {
return password;
}
diff --git a/vid-automation/src/main/java/vid/automation/test/Constants.java b/vid-automation/src/main/java/vid/automation/test/Constants.java
index 7256f0a2e..e639ee0a2 100644
--- a/vid-automation/src/main/java/vid/automation/test/Constants.java
+++ b/vid-automation/src/main/java/vid/automation/test/Constants.java
@@ -516,7 +516,7 @@ public class Constants {
public static final String EMANUEL_EMANUEL = "emanuelEmanuel";
public static final String CRAIG_ROBERTS_AIM_TRANSPORT = "FIREWALL_AIM_Trans";
public static final String EMANUEL_vWINIFRED = "emanuelvWINIFRED";
- public static final String SUPRE_USER = "su";
+ public static final String PORFIRIO_GERHARDT = "Porfirio Gerhardt";
}
public class RegisterToSimulator {