This is an automated email from the ASF dual-hosted git repository.
mleila pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push:
new 269e3f2dbf Fixed: Test suite launch with case name is not possible
from webtools (OFBIZ-13144)
269e3f2dbf is described below
commit 269e3f2dbf1289b8c516bc77d14c34a709a9bf8c
Author: MLeila <[email protected]>
AuthorDate: Fri Oct 4 11:05:43 2024 +0200
Fixed: Test suite launch with case name is not possible from webtools
(OFBIZ-13144)
update condition to launch suite with case name when this one is given
---
.../main/java/org/apache/ofbiz/webtools/artifactinfo/RunTestEvents.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/framework/webtools/src/main/java/org/apache/ofbiz/webtools/artifactinfo/RunTestEvents.java
b/framework/webtools/src/main/java/org/apache/ofbiz/webtools/artifactinfo/RunTestEvents.java
index 7ec49474a0..741e17dbd2 100644
---
a/framework/webtools/src/main/java/org/apache/ofbiz/webtools/artifactinfo/RunTestEvents.java
+++
b/framework/webtools/src/main/java/org/apache/ofbiz/webtools/artifactinfo/RunTestEvents.java
@@ -43,7 +43,7 @@ public class RunTestEvents {
List<StartupCommand> ofbizCommands = new ArrayList<>();
Map<String, String> cmdArgs = UtilMisc.toMap("component", component,
"suitename", suiteName);
- if (caseName == null) {
+ if (caseName != null) {
cmdArgs.put("case", caseName);
}
ofbizCommands.add(new
StartupCommand.Builder("test").properties(cmdArgs).build());