Skip to content

Commit

Permalink
Minor test cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
semancik committed Jun 21, 2017
1 parent c54bc1c commit 1c00407
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -570,7 +570,7 @@ public void test109ModifyUserAddAccountAgain() throws Exception {
accountRefVal.setObject(account);
ReferenceDelta accountDelta = ReferenceDelta.createModificationAdd(UserType.F_LINK_REF, getUserDefinition(), accountRefVal);
userDelta.addModification(accountDelta);
Collection<ObjectDelta<? extends ObjectType>> deltas = (Collection)MiscUtil.createCollection(userDelta);
Collection<ObjectDelta<? extends ObjectType>> deltas = MiscSchemaUtil.createCollection(userDelta);

try {

Expand Down Expand Up @@ -618,7 +618,7 @@ public void test110GetUserResolveAccount() throws Exception {
PrismObject<UserType> userJack = modelService.getObject(UserType.class, USER_JACK_OID, options , task, result);

// THEN
assertShadowFetchOperationCountIncrement(1);
assertCounterIncrement(InternalCounters.SHADOW_FETCH_OPERATION_COUNT, 1);
assertUserJack(userJack);
UserType userJackType = userJack.asObjectable();
assertEquals("Unexpected number of accountRefs", 1, userJackType.getLinkRef().size());
Expand Down

0 comments on commit 1c00407

Please sign in to comment.