Commit a8d3edb3 authored by Komal Makkar's avatar Komal Makkar
Browse files

removing stray changes

parent 1f88f4db
Pipeline #16155 failed with stage
in 7 seconds
......@@ -91,7 +91,6 @@ public abstract class PubsubEndpointHMACTests extends BaseTestTemplate {
secret.setValue(Config.Instance().hmacSecretValue);
subscription.setSecret(secret);
try {
Subscription subscriptionCreated = subscriptionService.create(subscription);
notificationId = subscriptionCreated.getNotificationId();
......
......@@ -56,10 +56,10 @@ public abstract class BaseTestTemplate extends TestBase {
}
@Test
public void should_return401_when_noAccessOnCustomerTenant() throws Exception {
ClientResponse response = descriptor.runOnCustomerTenant(getArg(), getOsduTenantAdminCredentials());
assertEquals(error( response.getEntity(String.class)),401, response.getStatus());
}
public void should_return401_when_noAccessOnCustomerTenant() throws Exception {
ClientResponse response = descriptor.runOnCustomerTenant(getArg(), getOsduTenantAdminCredentials());
assertEquals(error( response.getEntity(String.class)),401, response.getStatus());
}
@Test
public void should_return401_when_accessingWithAdminCredentials() throws Exception{
......@@ -102,12 +102,12 @@ public abstract class BaseTestTemplate extends TestBase {
deleteResource();
}
}
@Test
public void should_returnOk_when_makingHttpOptionsRequest() throws Exception{
ClientResponse response = descriptor.runOptions(getArg(), testUtils.getEditorToken());
assertEquals(error( response.getEntity(String.class)), 200, response.getStatus());
}
@Ignore("Issue logged in GL")
@Test
public void should_return307_when_makingHttpRequest()throws Exception{
......@@ -135,4 +135,4 @@ public abstract class BaseTestTemplate extends TestBase {
assertEquals(error( response.getEntity(String.class)), 302, response.getStatus());
}
}
\ No newline at end of file
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment