bdemers commented on code in PR #454:
URL: https://github.com/apache/directory-scimple/pull/454#discussion_r1428712628
##########
scim-core/src/test/java/org/apache/directory/scim/core/repository/PatchHandlerTest.java:
##########
@@ -465,6 +469,46 @@ public void deleteItemWithComplexFilter() throws
FilterParseException {
));
}
+ @Test
+ public void addItemToCollection() throws FilterParseException {
+ PatchOperation op = new PatchOperation();
+ op.setOperation(ADD);
+ op.setPath(PatchOperationPath.fromString("members"));
+ op.setValue(List.of(
+ Map.of(
+ "value", "9876",
+ "display", "testUser2",
+ "type", "User")
+ ));
+
+ GroupMembership member1 = userRef("1234");
+ GroupMembership member2 = userRef("5678");
+ GroupMembership member3 = new GroupMembership()
Review Comment:
`ResourceReference` was split up and renamed to `GroupMembership` and
`UserGroup` (they have slightly different attributes)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]