Skip to content

Commit

Permalink
Merge pull request #84 from varyvol/JENKINS-41370
Browse files Browse the repository at this point in the history
[JENKINS-41370] Fix PCT for 2.32.1
  • Loading branch information
stephenc committed Feb 6, 2017
2 parents 4e64cfc + c50a97d commit 304c051
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>2.19</version>
<version>2.21</version>
<relativePath />
</parent>

Expand All @@ -21,7 +21,7 @@
<properties>
<jenkins.version>1.609.1</jenkins.version>
<java.level>6</java.level>
<jenkins-test-harness.version>2.3</jenkins-test-harness.version>
<jenkins-test-harness.version>2.18</jenkins-test-harness.version>
<no-test-jar>false</no-test-jar>
</properties>
<licenses>
Expand Down
Expand Up @@ -80,7 +80,7 @@
import org.kohsuke.stapler.StaplerRequest;

/**
* A store of credentials that can be used as a Stapler opbject.
* A store of credentials that can be used as a Stapler object.
*/
@Extension(optional = true)
public class FolderCredentialsProvider extends CredentialsProvider {
Expand Down
Expand Up @@ -63,6 +63,7 @@
import org.acegisecurity.AccessDeniedException;
import static org.hamcrest.Matchers.*;
import static org.junit.Assert.*;

import org.junit.Rule;
import org.junit.Test;
import org.jvnet.hudson.test.Issue;
Expand Down Expand Up @@ -147,11 +148,11 @@ public class FolderTest {

private void copyFromGUI(Folder f, JenkinsRule.WebClient wc, String fromName, String toName) throws Exception {
HtmlPage page = wc.getPage(f, "newJob");
((HtmlInput)page.getElementById("name")).setValueAttribute(toName);
((HtmlInput)page.getElementById("name")).type(toName);
HtmlInput fe = (HtmlInput) page.getElementById("from");
fe.focus();
fe.type(fromName);
r.submit(page.getForms().get(1));
r.submit(page.getFormByName("createItem"));
}

/**
Expand Down

0 comments on commit 304c051

Please sign in to comment.