diff --git a/notification-acceptance-test/src/test/java/org/opengroup/osdu/notification/api/TestPushEndpointGsa.java b/notification-acceptance-test/src/test/java/org/opengroup/osdu/notification/api/TestPushEndpointGsa.java index 0f38521f8fef9215965a6d10e22faf71340cda13..bfd04c2be94c4b6e26ab890427be0ff6ecfd0244 100644 --- a/notification-acceptance-test/src/test/java/org/opengroup/osdu/notification/api/TestPushEndpointGsa.java +++ b/notification-acceptance-test/src/test/java/org/opengroup/osdu/notification/api/TestPushEndpointGsa.java @@ -118,7 +118,7 @@ public class TestPushEndpointGsa{ assertNotNull(notificationId); Map<String, String> headers = new HashMap<>(); headers.put(DpsHeaders.DATA_PARTITION_ID, tenant); - ClientResponse clientResponse = testUtils.send(baseRegisterUrl, "/test-gc/state", "GET", testUtils.getOpsToken(), null, "", + ClientResponse clientResponse = testUtils.send(baseRegisterUrl, "/test-state/state", "GET", testUtils.getOpsToken(), null, "", headers, false); Map<String, Number> response = new HashMap<>(); response = testUtils.getResult(clientResponse, 200, response.getClass()); @@ -166,6 +166,6 @@ public class TestPushEndpointGsa{ } private String getPushUrl() { - return baseRegisterUrl + "/test-gc/gsa-challenge/" + suffix; + return baseRegisterUrl + "/test-state/gsa-challenge/" + suffix; } } diff --git a/notification-acceptance-test/src/test/java/org/opengroup/osdu/notification/api/TestPushEndpointHMAC.java b/notification-acceptance-test/src/test/java/org/opengroup/osdu/notification/api/TestPushEndpointHMAC.java index 0d549459455a31d8b7985f8310a7c33a2ff72477..2bf0f37da6f5e5908ca4432960981461666545f8 100644 --- a/notification-acceptance-test/src/test/java/org/opengroup/osdu/notification/api/TestPushEndpointHMAC.java +++ b/notification-acceptance-test/src/test/java/org/opengroup/osdu/notification/api/TestPushEndpointHMAC.java @@ -97,7 +97,7 @@ public class TestPushEndpointHMAC{ assertNotNull(notificationId); Map<String, String> headers = new HashMap<>(); headers.put(DpsHeaders.DATA_PARTITION_ID, tenant); - ClientResponse clientResponse = testUtils.send(baseRegisterUrl, "/test-gc/state", "GET", testUtils.getOpsToken(), null, "", + ClientResponse clientResponse = testUtils.send(baseRegisterUrl, "/test-state/state", "GET", testUtils.getOpsToken(), null, "", headers, false); Map<String, Number> response = new HashMap<>(); response = testUtils.getResult(clientResponse, 200, response.getClass()); @@ -136,6 +136,6 @@ public class TestPushEndpointHMAC{ } } private String getPushUrl() { - return baseRegisterUrl + "/test-gc/challenge/" + suffix; + return baseRegisterUrl + "/test-state/challenge/" + suffix; } }