Commit aeccaf09 authored by Ritika Kaushal's avatar Ritika Kaushal Committed by Anuj Gupta
Browse files

Tenant validation ibm

parent e5da3c82
......@@ -44,7 +44,7 @@
......@@ -56,6 +56,14 @@ public class TestPubsubEndpointHMAC extends PubsubEndpointHMACTests {
// TODO getting SubscriptionException only on ci-cd env
//running against tenant - 'nonexistenttenant' and entitlement throws 403 for invalid teanant
public void should_return401_when_noAccessOnCustomerTenant() throws Exception {
ClientResponse response = descriptor.runOnCustomerTenant(getArg(), getOsduTenantAdminCredentials());
assertEquals(error( response.getEntity(String.class)),403, 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