From f945ff0181f0f839828b6a7ed99bafc17004da8d Mon Sep 17 00:00:00 2001
From: komakkar <komakkar@microsoft.com>
Date: Sun, 15 Nov 2020 22:49:54 +0530
Subject: [PATCH] undoing the comments.

---
 .../osdu/notification/api/TestPubsubEndpointHMAC.java      | 4 ++--
 .../opengroup/osdu/notification/util/BaseTestTemplate.java | 7 +++----
 2 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/testing/notification-test-azure/src/test/java/org/opengroup/osdu/notification/api/TestPubsubEndpointHMAC.java b/testing/notification-test-azure/src/test/java/org/opengroup/osdu/notification/api/TestPubsubEndpointHMAC.java
index 2b4c57355..70d81c093 100644
--- a/testing/notification-test-azure/src/test/java/org/opengroup/osdu/notification/api/TestPubsubEndpointHMAC.java
+++ b/testing/notification-test-azure/src/test/java/org/opengroup/osdu/notification/api/TestPubsubEndpointHMAC.java
@@ -44,7 +44,7 @@ public class TestPubsubEndpointHMAC extends PubsubEndpointHMACTests {
         this.testUtils = null;
     }
 
-/*    @Test
+    @Test
     @Override
     public void should_return400_when_makingHttpRequestWithoutToken() throws Exception {
         ClientResponse response =  descriptor.run(getArg(), "");
@@ -57,5 +57,5 @@ public class TestPubsubEndpointHMAC extends PubsubEndpointHMACTests {
         // The requirement of http support is under discussion.
         // If HTTP is a need, corresponding infra changes will be required for this test to function.
         return;
-    }*/
+    }
 }
\ No newline at end of file
diff --git a/testing/notification-test-core/src/main/java/org/opengroup/osdu/notification/util/BaseTestTemplate.java b/testing/notification-test-core/src/main/java/org/opengroup/osdu/notification/util/BaseTestTemplate.java
index 0657da825..6ca4aca02 100644
--- a/testing/notification-test-core/src/main/java/org/opengroup/osdu/notification/util/BaseTestTemplate.java
+++ b/testing/notification-test-core/src/main/java/org/opengroup/osdu/notification/util/BaseTestTemplate.java
@@ -55,7 +55,7 @@ public abstract class BaseTestTemplate extends TestBase {
 		return testUtils.getAdminToken();
 	}
 
-	/*@Test
+	@Test
     public void should_return401_when_noAccessOnCustomerTenant() throws Exception {
         ClientResponse response = descriptor.runOnCustomerTenant(getArg(), getOsduTenantAdminCredentials());
         assertEquals(error(	response.getEntity(String.class)),401, response.getStatus());
@@ -102,7 +102,6 @@ public abstract class BaseTestTemplate extends TestBase {
 			deleteResource();
 		}
 	}
-*/
 	@Test
 	public void should_returnOk_when_makingHttpOptionsRequest() throws Exception{
 		ClientResponse response = descriptor.runOptions(getArg(), testUtils.getEditorToken());
@@ -130,10 +129,10 @@ public abstract class BaseTestTemplate extends TestBase {
 		}
 	}
 
-	/*@Test
+	@Test
 	public void should_return400_when_makingHttpRequestWithoutToken()throws Exception{
 		ClientResponse response =  descriptor.run(getArg(), "");
 		assertEquals(error(	response.getEntity(String.class)), 302, response.getStatus());
-	}*/
+	}
 
 }
\ No newline at end of file
-- 
GitLab