summaryrefslogtreecommitdiffstats
path: root/vid-automation/src/main/java/org/onap/sdc
diff options
context:
space:
mode:
Diffstat (limited to 'vid-automation/src/main/java/org/onap/sdc')
-rw-r--r--vid-automation/src/main/java/org/onap/sdc/ci/tests/datatypes/UserCredentials.java4
1 files changed, 4 insertions, 0 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;
}