Skip to content

Commit

Permalink
fixes/cleanup around TestSecurityAdvanced, but test 320 is still broken
Browse files Browse the repository at this point in the history
  • Loading branch information
virgo47 committed Feb 29, 2020
1 parent b6cd2ed commit 1b9e4eb
Show file tree
Hide file tree
Showing 3 changed files with 141 additions and 220 deletions.
Expand Up @@ -8,7 +8,6 @@

import static org.testng.AssertJUnit.assertEquals;
import static org.testng.AssertJUnit.assertNotNull;
import static org.testng.AssertJUnit.assertNull;
import static org.testng.AssertJUnit.assertTrue;
import static org.testng.AssertJUnit.assertFalse;

Expand Down Expand Up @@ -1102,7 +1101,7 @@ protected void assertCanSearchRoleMembers(String roleOid, boolean expectedResult
}

protected <T extends ObjectType, O extends ObjectType> void assertCanSearch(String message, Class<T> resultType, Class<O> objectType, String objectOid, boolean includeSpecial, ObjectQuery query, boolean expectedResult) throws SchemaException, ObjectNotFoundException, CommunicationException, ConfigurationException, SecurityViolationException, ExpressionEvaluationException {
Task task = getTestTask();
Task task = createTask("assertCanSearch");
OperationResult result = task.getResult();
String opName = "canSearch("+message+")";
logAttempt(opName);
Expand Down

0 comments on commit 1b9e4eb

Please sign in to comment.