summaryrefslogtreecommitdiffstats
path: root/vid-automation/src/test/java/org/onap
diff options
context:
space:
mode:
authorAlexey Sandler <alexey.sandler@intl.att.com>2019-12-14 21:57:24 +0200
committerAlexey Sandler <alexey.sandler@intl.att.com>2019-12-14 21:58:49 +0200
commite67154b1aed0732d410cb7fd4efcebdc2eb8d353 (patch)
tree80f4f49466fbcf40f7317e974d81a6492716d1d1 /vid-automation/src/test/java/org/onap
parentca8f3583c919bc5ce2d66c7f783f7dce4cf5a955 (diff)
Fix templates_instance_template.json file and InstantiationTemplatesApiTest
to resolve 403 error. Issue-ID: VID-724 Signed-off-by: Alexey Sandler <alexey.sandler@intl.att.com> Change-Id: Id2b5ab9e57416a978c591940a381e162f2ac0f14
Diffstat (limited to 'vid-automation/src/test/java/org/onap')
-rw-r--r--vid-automation/src/test/java/org/onap/vid/api/InstantiationTemplatesApiTest.java5
1 files changed, 3 insertions, 2 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