This is an automated email from the ASF dual-hosted git repository.
mdisabatino pushed a commit to branch 3_0_X
in repository https://gitbox.apache.org/repos/asf/syncope.git
The following commit(s) were added to refs/heads/3_0_X by this push:
new ec6ab7a3be [SYNCOPE-1864] Fix test
ec6ab7a3be is described below
commit ec6ab7a3bec91a732d85f6b0efc626795d6e5e04
Author: Marco Di Sabatino Di Diodoro <[email protected]>
AuthorDate: Thu Feb 6 13:15:32 2025 +0100
[SYNCOPE-1864] Fix test
---
.../java/org/apache/syncope/fit/core/PullTaskITCase.java | 12 ------------
1 file changed, 12 deletions(-)
diff --git
a/fit/core-reference/src/test/java/org/apache/syncope/fit/core/PullTaskITCase.java
b/fit/core-reference/src/test/java/org/apache/syncope/fit/core/PullTaskITCase.java
index 40bde3b524..2c4f753c16 100644
---
a/fit/core-reference/src/test/java/org/apache/syncope/fit/core/PullTaskITCase.java
+++
b/fit/core-reference/src/test/java/org/apache/syncope/fit/core/PullTaskITCase.java
@@ -66,7 +66,6 @@ import org.apache.syncope.common.lib.SyncopeConstants;
import org.apache.syncope.common.lib.policy.PullPolicyTO;
import org.apache.syncope.common.lib.request.AnyCR;
import org.apache.syncope.common.lib.request.AnyObjectCR;
-import org.apache.syncope.common.lib.request.AttrPatch;
import org.apache.syncope.common.lib.request.GroupCR;
import org.apache.syncope.common.lib.request.PasswordPatch;
import org.apache.syncope.common.lib.request.ResourceDR;
@@ -99,7 +98,6 @@ import
org.apache.syncope.common.lib.types.IdMImplementationType;
import org.apache.syncope.common.lib.types.IdRepoImplementationType;
import org.apache.syncope.common.lib.types.ImplementationEngine;
import org.apache.syncope.common.lib.types.MatchingRule;
-import org.apache.syncope.common.lib.types.PatchOperation;
import org.apache.syncope.common.lib.types.PolicyType;
import org.apache.syncope.common.lib.types.PullMode;
import org.apache.syncope.common.lib.types.ResourceDeassociationAction;
@@ -1678,16 +1676,6 @@ public class PullTaskITCase extends AbstractTaskITCase {
return
ResourceOperation.UPDATE.equals(propagationTask.getOperation())
&& AttributeUtil.getPasswordValue(attributes) == null;
}));
-
- UserUR userUR = new UserUR();
- userUR.setKey(user.getKey());
- Attr attr = new Attr();
- attr.setSchema("surname");
- attr.getValues().add("surname2");
- AttrPatch attrPatch = new AttrPatch();
- attrPatch.setAttr(attr);
- attrPatch.setOperation(PatchOperation.ADD_REPLACE);
- userUR.getPlainAttrs().add(attrPatch);
} finally {
// remove test entity
deleteUser(user.getKey());