Skip to content

Commit

Permalink
VEND-58: Fix group patch test
Browse files Browse the repository at this point in the history
  • Loading branch information
ataillefer committed Jul 1, 2024
1 parent 2fa5dfa commit c27e807
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1279,16 +1279,16 @@ public ArrayList<TestResult> patchMethodTest() throws GeneralComplianceException
+ "\"Operations\":[{\"op\":\"remove\",\"path\":\"members\"}]}");
definedPatchedGroup.add("{\"schemas\":[\"urn:ietf:params:scim:api:messages:2.0:PatchOp\"],"
+ "\"Operations\":[{\"op\":\"replace\",\"value\":{\"members\":[{\"display\":\"loginUser4\",\"value"
+ "\":\"" + userIDs.get(4) + "\",\"ref\":\"" + complianceTestMetaDataHolder.getUrl()
+ "\":\"" + userIDs.get(4) + "\",\"$ref\":\"" + complianceTestMetaDataHolder.getUrl()
+ ComplianceConstants.TestConstants.USERS_ENDPOINT + "/" + userIDs.get(0) + "\"}]}}]}");
definedPatchedGroup.add("{\"schemas\":[\"urn:ietf:params:scim:api:messages:2.0:PatchOp\"],"
+ "\"Operations\":[{\"op\":\"remove\",\"path\":\"members\"},{\"op\":\"add\",\"path\":\"members\","
+ "\"value\":[{\"display\":\"loginUser1\",\"value\":\"" + userIDs.get(0) + "\"}]},"
+ "{\"op\":\"replace\",\"path\":\"members\",\"value\":[{\"display\":\"loginUser1\",\"value\":\""
+ userIDs.get(0) + "\",\"ref\":\"" + complianceTestMetaDataHolder.getUrl()
+ userIDs.get(0) + "\",\"$ref\":\"" + complianceTestMetaDataHolder.getUrl()
+ ComplianceConstants.TestConstants.USERS_ENDPOINT + "/" + userIDs.get(0) + "\"}]}]}");
definedPatchedGroup.add("{\"schemas\":[\"urn:ietf:params:scim:api:messages:2.0:PatchOp\"],"
+ "\"Operations\":[{\"op\":\"remove\",\"pah\":\"members\"}]}");
+ "\"Operations\":[{\"op\":\"remove\",\"path\":\"members\"}]}");
definedPatchedGroup.add("{\"schemas\":[\"urn:ietf:params:scim:api:messages:2.0:PatchOp\"],"
+ "\"Operations\":[{\"op\":\"add\",\"value\":{\"displayName\": \"XwLtOP23-patchNonExistingGroup\"}}]}");

Expand Down

0 comments on commit c27e807

Please sign in to comment.