Skip to content

Commit

Permalink
Merge pull request #68 from dcrissman/fix65
Browse files Browse the repository at this point in the history
fixes #65
  • Loading branch information
paterczm committed Apr 24, 2015
2 parents 403da1d + 218b5cb commit 99d0949
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ public void series2_phase1_Department_InsertWithRoles() throws Exception {
String insert = AbstractJsonNodeTest.loadResource("./crud/insert/department-insert-template.json")
.replaceFirst("#cn", "Marketing")
.replaceFirst("#description", "Department devoted to Marketing")
.replaceFirst("#members", "\"" + StringUtils.join(Arrays.asList("cn=John Doe," + BASEDB_USERS, "cn=Jane Doe," + BASEDB_USERS), "\",\"") + "\"");
.replaceFirst("#members", StringUtils.join(Arrays.asList("cn=John Doe," + BASEDB_USERS, "cn=Jane Doe," + BASEDB_USERS), "\",\""));

InsertionRequest insertRequest = createRequest_FromJsonString(InsertionRequest.class, insert);
insertRequest.setClientId(new FakeClientIdentification("fakeUser", "admin"));
Expand All @@ -182,7 +182,7 @@ public void series2_phase1_Department_InsertWithInvalidRoles() throws Exception
String insert = AbstractJsonNodeTest.loadResource("./crud/insert/department-insert-template.json")
.replaceFirst("#cn", "HR")
.replaceFirst("#description", "Department devoted to HR")
.replaceFirst("#members", "\"cn=John Doe," + BASEDB_USERS + "\"");
.replaceFirst("#members", "cn=John Doe," + BASEDB_USERS);

InsertionRequest insertRequest = createRequest_FromJsonString(InsertionRequest.class, insert);
insertRequest.setClientId(new FakeClientIdentification("fakeUser"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"objectClass": ["top", "groupofNames"],
"cn": "#cn",
"description": "#description",
"member": [#members]
"member": ["#members"]
}
}

0 comments on commit 99d0949

Please sign in to comment.