diff --git a/src/test/java/org/jenkinsci/plugins/workflow/job/WorkflowJobTest.java b/src/test/java/org/jenkinsci/plugins/workflow/job/WorkflowJobTest.java index 533e19d6..39ff9b44 100644 --- a/src/test/java/org/jenkinsci/plugins/workflow/job/WorkflowJobTest.java +++ b/src/test/java/org/jenkinsci/plugins/workflow/job/WorkflowJobTest.java @@ -130,7 +130,7 @@ public void addAction() throws Exception { form = wc.getPage(p, "configure").getFormByName("config"); checkbox = form.getInputByName("enable"); assertFalse(checkbox.isChecked()); - checkbox.setChecked(false); + checkbox.setChecked(true); j.submit(form); assertFalse(p.isDisabled()); assertTrue(p.isBuildable());