Skip to content

Commit

Permalink
Add unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
sadilchamishka committed Nov 18, 2024
1 parent b41e218 commit e90bc17
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -687,6 +687,12 @@ public void testAddOrganizationFailWhileRoleBack() throws Exception {
organizationManager.addOrganization(sampleOrganization);
}

@Test(expectedExceptions = OrganizationManagementClientException.class)
public void testResolveTenantDomainWithEmptyOrganizationId() throws OrganizationManagementException {

organizationManager.resolveTenantDomain("");
}

private void setOrganizationAttributes(Organization organization, String key, String value) {

OrganizationAttribute organizationAttribute = new OrganizationAttribute(key, value);
Expand Down

0 comments on commit e90bc17

Please sign in to comment.