Skip to content

Commit 6bbda81

Browse files
committed
Updated the test to keep up with the UI change in the previous commit.
1 parent 8358c68 commit 6bbda81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/java/com/cloudbees/jenkins/GitHubPushTriggerConfigSubmitTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ public void testConfigSubmit_AutoManageHook() throws Exception {
2323
HtmlPage p = client.goTo("configure");
2424
HtmlForm f = p.getFormByName("config");
2525
f.getInputByValue("auto").setChecked(true);
26-
f.getInputByName("_.hookUrl").setChecked(true);
27-
f.getInputByName("url").setValueAttribute(WEBHOOK_URL);
26+
f.getInputByName("_.hasHookUrl").setChecked(true);
27+
f.getInputByName("_.hookUrl").setValueAttribute(WEBHOOK_URL);
2828
f.getInputByName("_.username").setValueAttribute("jenkins");
2929
submit(f);
3030

0 commit comments

Comments
 (0)