summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vid-automation/src/test/java/org/onap/vid/api/InstantiationTemplatesApiTest.java5
-rw-r--r--vid-automation/src/test/resources/asyncInstantiation/templates__instance_template.json6
2 files changed, 6 insertions, 5 deletions
diff --git a/vid-automation/src/test/java/org/onap/vid/api/InstantiationTemplatesApiTest.java b/vid-automation/src/test/java/org/onap/vid/api/InstantiationTemplatesApiTest.java
index f6fbd268d..ab59f087d 100644
--- a/vid-automation/src/test/java/org/onap/vid/api/InstantiationTemplatesApiTest.java
+++ b/vid-automation/src/test/java/org/onap/vid/api/InstantiationTemplatesApiTest.java
@@ -23,6 +23,7 @@ import org.springframework.http.HttpMethod;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.Test;
import vid.automation.test.Constants;
+import vid.automation.test.Constants.Users;
import vid.automation.test.model.User;
import vid.automation.test.services.AsyncJobsService;
import vid.automation.test.services.SimulatorApi.RegistrationStrategy;
@@ -59,8 +60,8 @@ public class InstantiationTemplatesApiTest extends AsyncInstantiationBase {
@Override
public UserCredentials getUserCredentials() {
- User user = usersService.getUser(Constants.Users.EMANUEL_EMANUEL);
- return new UserCredentials(user.credentials.userId, user.credentials.password, Constants.Users.EMANUEL_EMANUEL, "", "");
+ User user = usersService.getUser(Users.SILVIA_ROBBINS_TYLER_SILVIA);
+ return new UserCredentials(user.credentials.userId, user.credentials.password, Users.SILVIA_ROBBINS_TYLER_SILVIA, "", "");
}
@AfterMethod
diff --git a/vid-automation/src/test/resources/asyncInstantiation/templates__instance_template.json b/vid-automation/src/test/resources/asyncInstantiation/templates__instance_template.json
index 8a6401083..a874fec4c 100644
--- a/vid-automation/src/test/resources/asyncInstantiation/templates__instance_template.json
+++ b/vid-automation/src/test/resources/asyncInstantiation/templates__instance_template.json
@@ -46,7 +46,7 @@
"action": "Create",
"platformName": "xxx1",
"lcpCloudRegionId": "hvf6",
- "tenantId": "4914ab0ab3a743e58f0eefdacc1dde77",
+ "tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
"instanceParams": [
{}
],
@@ -67,7 +67,7 @@
"instanceName": "hvf6arlba007_lba_Base_01",
"action": "Create",
"lcpCloudRegionId": "hvf6",
- "tenantId": "4914ab0ab3a743e58f0eefdacc1dde77",
+ "tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
"instanceParams": [
{}
],
@@ -90,7 +90,7 @@
"instanceName": "hvf6arlba007_lba_dj_01",
"action": "Create",
"lcpCloudRegionId": "hvf6",
- "tenantId": "4914ab0ab3a743e58f0eefdacc1dde77",
+ "tenantId": "092eb9e8e4b7412e8787dd091bc58e86",
"instanceParams": [
{}
],