This is an automated email from the ASF dual-hosted git repository.
ilgrosso pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git
The following commit(s) were added to refs/heads/master by this push:
new 01f3fa86d8 [SYNCOPE-1892] Fixing Groovy implementation
01f3fa86d8 is described below
commit 01f3fa86d8f87d1ecbc7199ed7dd3982357664ed
Author: Francesco Chicchiriccò <[email protected]>
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())
}
}