Skip to content

Commit

Permalink
Fixed model-impl tests.
Browse files Browse the repository at this point in the history
(cherry picked from commit bb8cd2c)
  • Loading branch information
mederly committed Feb 1, 2017
1 parent 96bd24a commit 3eede9f
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -787,7 +787,9 @@ protected void assertConstruction(EvaluatedAssignmentImpl<UserType> evaluatedAss

protected AssignmentEvaluator<UserType> createAssignmentEvaluator() throws ObjectNotFoundException, SchemaException {
PrismObject<UserType> userJack = userTypeJack.asPrismObject();
return createAssignmentEvaluator(new ObjectDeltaObject<UserType>(userJack, null, null));
ObjectDeltaObject<UserType> focusOdo = new ObjectDeltaObject<>(userJack, null, null);
focusOdo.recompute();
return createAssignmentEvaluator(focusOdo);
}

protected AssignmentEvaluator<UserType> createAssignmentEvaluator(ObjectDeltaObject<UserType> focusOdo) throws ObjectNotFoundException, SchemaException {
Expand Down

0 comments on commit 3eede9f

Please sign in to comment.