diff --git a/smp-ui-tests/.gitignore b/smp-ui-tests/.gitignore index aba821a52f40feef4b488da5a6d3bc35641bc106..4325007bb7c196a548e0b4d7542894d0e85ce907 100644 --- a/smp-ui-tests/.gitignore +++ b/smp-ui-tests/.gitignore @@ -18,4 +18,5 @@ .idea/** +.target/** .\src\main\java\Main.java \ No newline at end of file diff --git a/smp-ui-tests/src/main/java/utils/rest/SMPRestClient.java b/smp-ui-tests/src/main/java/utils/rest/SMPRestClient.java index d82642f42969ee922a6e3b7f25049f46af30c0a9..dfb0bb1ae136d1aa6957cf300caebacf537d1727 100644 --- a/smp-ui-tests/src/main/java/utils/rest/SMPRestClient.java +++ b/smp-ui-tests/src/main/java/utils/rest/SMPRestClient.java @@ -278,7 +278,7 @@ public class SMPRestClient { } private static JSONObject getSGforPI(String pi){ - Cookie jssesionID = login("SYS_ADMIN"); + Cookie jssesionID = login("SMP_ADMIN"); try { String responseRaw = resource.path(SMPPaths.SERVICE_GROUP) .queryParam("page", "-1") @@ -334,7 +334,7 @@ public class SMPRestClient { } public static boolean deleteSG(String pi){ - Cookie jssesionID = login("SG_ADMIN"); + Cookie jssesionID = login("SMP_ADMIN"); try { String putStr = "[" + getSGforPI(pi).put("status", 3).toString() + "]"; ClientResponse getResponse = resource.path(SMPPaths.SERVICE_GROUP)