Skip to content

Commit

Permalink
Fix unit test.
Browse files Browse the repository at this point in the history
  • Loading branch information
mpmadhavig committed Dec 10, 2024
1 parent 52cdf24 commit 3657daf
Showing 1 changed file with 1 addition and 1 deletion.
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.value ne undefined");
List<ExpressionNode> expressionNodes = getExpressionNodes("audienceId ne undefined");
int rolesCount = roleDAO.getRolesCount(expressionNodes, SAMPLE_TENANT_DOMAIN);
assertEquals(rolesCount, 3);
}
Expand Down

0 comments on commit 3657daf

Please sign in to comment.