You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2025/07/22 10:56:39 UTC
(syncope) branch 4_0_X updated: [SYNCOPE-1892] Fixing Groovy implementation
This is an automated email from the ASF dual-hosted git repository.
ilgrosso pushed a commit to branch 4_0_X
in repository https://gitbox.apache.org/repos/asf/syncope.git
The following commit(s) were added to refs/heads/4_0_X by this push:
new 4a31626d76 [SYNCOPE-1892] Fixing Groovy implementation
4a31626d76 is described below
commit 4a31626d76ae554cff86798892c3329c3bc16731
Author: Francesco Chicchiriccò <il...@apache.org>
AuthorDate: Tue Jul 22 12:56:19 2025 +0200
[SYNCOPE-1892] Fixing Groovy implementation
---
fit/core-reference/src/test/resources/GroovyCommand.groovy | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/fit/core-reference/src/test/resources/GroovyCommand.groovy b/fit/core-reference/src/test/resources/GroovyCommand.groovy
index b9b3654866..def28c16a8 100644
--- a/fit/core-reference/src/test/resources/GroovyCommand.groovy
+++ b/fit/core-reference/src/test/resources/GroovyCommand.groovy
@@ -17,6 +17,7 @@
* under the License.
*/
+import java.util.Map
import org.apache.syncope.common.lib.command.CommandArgs
import org.apache.syncope.core.logic.SyncopeLogic
import org.apache.syncope.core.provisioning.api.macro.Command
@@ -29,6 +30,6 @@ class GroovyCommand implements Command<CommandArgs> {
@Override
Result run(CommandArgs args) {
- return new Result("" + logic.isPwdResetAllowed())
+ return new Result("" + logic.isPwdResetAllowed(), Map.of())
}
}