Skip to content
Snippets Groups Projects
Commit f945ff01 authored by Komal Makkar's avatar Komal Makkar
Browse files

undoing the comments.

parent 768adc3f
No related branches found
No related tags found
1 merge request!38Changes in IT to match Infra
Pipeline #15500 failed
...@@ -44,7 +44,7 @@ public class TestPubsubEndpointHMAC extends PubsubEndpointHMACTests { ...@@ -44,7 +44,7 @@ public class TestPubsubEndpointHMAC extends PubsubEndpointHMACTests {
this.testUtils = null; this.testUtils = null;
} }
/* @Test @Test
@Override @Override
public void should_return400_when_makingHttpRequestWithoutToken() throws Exception { public void should_return400_when_makingHttpRequestWithoutToken() throws Exception {
ClientResponse response = descriptor.run(getArg(), ""); ClientResponse response = descriptor.run(getArg(), "");
...@@ -57,5 +57,5 @@ public class TestPubsubEndpointHMAC extends PubsubEndpointHMACTests { ...@@ -57,5 +57,5 @@ public class TestPubsubEndpointHMAC extends PubsubEndpointHMACTests {
// The requirement of http support is under discussion. // The requirement of http support is under discussion.
// If HTTP is a need, corresponding infra changes will be required for this test to function. // If HTTP is a need, corresponding infra changes will be required for this test to function.
return; return;
}*/ }
} }
\ No newline at end of file
...@@ -55,7 +55,7 @@ public abstract class BaseTestTemplate extends TestBase { ...@@ -55,7 +55,7 @@ public abstract class BaseTestTemplate extends TestBase {
return testUtils.getAdminToken(); return testUtils.getAdminToken();
} }
/*@Test @Test
public void should_return401_when_noAccessOnCustomerTenant() throws Exception { public void should_return401_when_noAccessOnCustomerTenant() throws Exception {
ClientResponse response = descriptor.runOnCustomerTenant(getArg(), getOsduTenantAdminCredentials()); ClientResponse response = descriptor.runOnCustomerTenant(getArg(), getOsduTenantAdminCredentials());
assertEquals(error( response.getEntity(String.class)),401, response.getStatus()); assertEquals(error( response.getEntity(String.class)),401, response.getStatus());
...@@ -102,7 +102,6 @@ public abstract class BaseTestTemplate extends TestBase { ...@@ -102,7 +102,6 @@ public abstract class BaseTestTemplate extends TestBase {
deleteResource(); deleteResource();
} }
} }
*/
@Test @Test
public void should_returnOk_when_makingHttpOptionsRequest() throws Exception{ public void should_returnOk_when_makingHttpOptionsRequest() throws Exception{
ClientResponse response = descriptor.runOptions(getArg(), testUtils.getEditorToken()); ClientResponse response = descriptor.runOptions(getArg(), testUtils.getEditorToken());
...@@ -130,10 +129,10 @@ public abstract class BaseTestTemplate extends TestBase { ...@@ -130,10 +129,10 @@ public abstract class BaseTestTemplate extends TestBase {
} }
} }
/*@Test @Test
public void should_return400_when_makingHttpRequestWithoutToken()throws Exception{ public void should_return400_when_makingHttpRequestWithoutToken()throws Exception{
ClientResponse response = descriptor.run(getArg(), ""); ClientResponse response = descriptor.run(getArg(), "");
assertEquals(error( response.getEntity(String.class)), 302, response.getStatus()); assertEquals(error( response.getEntity(String.class)), 302, response.getStatus());
}*/ }
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment