Skip to content

Commit

Permalink
Fixed: Test suite launch with case name is not possible from webtools
Browse files Browse the repository at this point in the history
(OFBIZ-13144)

update condition to launch suite with case name when this one is given
  • Loading branch information
MkLeila committed Oct 4, 2024
1 parent 1740018 commit 269e3f2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public static String runTest(HttpServletRequest request, HttpServletResponse res

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());
Expand Down

0 comments on commit 269e3f2

Please sign in to comment.