From 14c53ced13a57c28d61dcbd61edb713362b198b8 Mon Sep 17 00:00:00 2001
From: MUHAMMAD FAID LUQMAN BIN NOR HASNI <muhammad.f.norhasni@exxonmobil.com>
Date: Fri, 14 Feb 2025 10:40:41 +0800
Subject: [PATCH] Refined test-gc to test-state based on Rustam MR

---
 .../opengroup/osdu/notification/api/TestPushEndpointGsa.java  | 4 ++--
 .../opengroup/osdu/notification/api/TestPushEndpointHMAC.java | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

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 0f38521f8..bfd04c2be 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 0d5494594..2bf0f37da 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;
   }
 }
-- 
GitLab