Skip to content

Commit

Permalink
Few more test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
semancik committed Jan 17, 2019
1 parent 6af1a50 commit fa0074f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Expand Up @@ -877,7 +877,12 @@ private void distributeResourceObject(PrismObject<ShadowType> object, PrismObjec

private void distributeResourceValue(PrismReferenceValue resourceRefVal, PrismObject<ResourceType> resource) {
if (resourceRefVal != null) {
boolean immutable = resourceRefVal.isImmutable();
if (immutable) {
resourceRefVal.setImmutable(false);
}
resourceRefVal.setObject(resource);
resourceRefVal.setImmutable(immutable);
}
}

Expand Down
Expand Up @@ -346,8 +346,7 @@ private void doPreview(Collection<ObjectDelta<? extends ObjectType>> deltas,
display("Preview context", modelContext);
checker.check(modelContext);

result.computeStatus();
TestUtil.assertSuccess(result);
assertSuccess(result);
}

private void doPreviewFail(Collection<ObjectDelta<? extends ObjectType>> deltas, Task task, OperationResult result)
Expand Down

0 comments on commit fa0074f

Please sign in to comment.