Skip to content

Commit

Permalink
Add meaningful comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
mpmadhavig committed Dec 10, 2024
1 parent cdcd718 commit 52cdf24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -717,8 +717,8 @@ public int getRolesCount(String searchFilter, String tenantDomain) throws Identi
}
}
if (log.isDebugEnabled()) {
log.debug(String.format("%s for the filter %s get roles count successfully.", getUser(tenantDomain),
searchFilter));
log.debug(String.format("Get roles count for the filter %s & tenant domain %s is successful.",
searchFilter, tenantDomain));
}
return count;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,7 @@ public void testCountRolesForAFilter() throws Exception {
addRole(roleNamesList.get(1), APPLICATION_AUD, SAMPLE_APP_ID, roleDAO);
addRole(roleNamesList.get(2), APPLICATION_AUD, SAMPLE_APP_ID, roleDAO);

List<ExpressionNode> expressionNodes = getExpressionNodes("audience ne undefined");
List<ExpressionNode> expressionNodes = getExpressionNodes("audience.value ne undefined");
int rolesCount = roleDAO.getRolesCount(expressionNodes, SAMPLE_TENANT_DOMAIN);
assertEquals(rolesCount, 3);
}
Expand Down

0 comments on commit 52cdf24

Please sign in to comment.