Commit e38ecefc authored by Anuj Gupta's avatar Anuj Gupta
Browse files

Merge branch 'tenant_validation_ibm' into 'master'

Tenant validation ibm

See merge request !96
parents e5da3c82 aeccaf09
Pipeline #54272 failed with stages
in 33 minutes and 8 seconds
......@@ -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