Skip to content

Commit

Permalink
more test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
1azyman committed Oct 17, 2017
1 parent 0da9e6d commit ea88bb1
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 59 deletions.
Expand Up @@ -228,11 +228,11 @@ public void test240AddCases() throws Exception {
public void test250DeleteCase() throws Exception {
OperationResult result = new OperationResult("test250DeleteCase");

AccessCertificationCaseType case12 = new AccessCertificationCaseType();
case12.setId(12L);
AccessCertificationCaseType case9 = new AccessCertificationCaseType();
case9.setId(9L);

List<ItemDelta<?, ?>> modifications = DeltaBuilder.deltaFor(AccessCertificationCampaignType.class, prismContext)
.item(F_CASE).delete(case12)
.item(F_CASE).delete(case9)
.asItemDeltas();

executeAndCheckModification(modifications, result, 0);
Expand Down
Expand Up @@ -628,8 +628,8 @@ public void test150ModifyRoleAddInducements() throws Exception {
PrismContainer container = role.findContainer(RoleType.F_INDUCEMENT);
assertEquals(2, container.size());

AssertJUnit.assertNotNull(container.getValue(2L));
AssertJUnit.assertNotNull(container.getValue(3L));
AssertJUnit.assertNotNull(container.getValue(4L));

// modify role once more to check version progress
String version = role.getVersion();
Expand Down

0 comments on commit ea88bb1

Please sign in to comment.