Skip to content
Permalink
Browse files
[JENKINS-49201] Execute the correct form independently on the jenkins…
… core version
  • Loading branch information
fcojfernandez committed Jan 26, 2018
1 parent 8dc7208 commit 2e33f1a59be700a4d081dc0668992901dc167a82
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/test/java/hudson/matrix/MatrixProjectTest.java
@@ -587,7 +587,7 @@ public void deletedLockedParentBuild() throws Exception {

assertThat(deletePage.getWebResponse().getContentAsString(), containsString("Warning: #3 depends on this."));

j.submit(deletePage.getForms().get(1));
j.submit(deletePage.getForms().get(deletePage.getForms().size() - 1));
assertEquals(2, p.getBuilds().size());

// Code delete
@@ -622,7 +622,7 @@ public void deletedLockedChildrenBuild() throws Exception {

assertThat(deletePage.getWebResponse().getContentAsString(), containsString("Warning: #3 depends on this."));

j.submit(deletePage.getForms().get(1));
j.submit(deletePage.getForms().get(deletePage.getForms().size() - 1));
assertEquals(1, c.getBuilds().size());

// Code delete

0 comments on commit 2e33f1a

Please sign in to comment.