Commit a2491e37 authored by ritika's avatar ritika
Browse files

Merge branch 'tenant_validation_ibm' of...

Merge branch 'tenant_validation_ibm' of into tenant_validation_ibm
parents 0774e996 ce05e9ab
Pipeline #54218 failed with stages
in 15 minutes and 57 seconds
......@@ -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
Markdown is supported
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