Skip to content

Commit

Permalink
Fixed expected number of warnings, should be actually 1.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Feb 7, 2015
1 parent 7b644ef commit 0a2472b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/plugins/FindBugsPluginTest.java
Expand Up @@ -344,7 +344,7 @@ private void assertValidLink(final String jobName) {

assertThat(jenkins.all(warningsLinkMatcher).size(), is(1));
WebElement link = jenkins.getElement(warningsLinkMatcher);
assertThat(link.getText().trim(), is("2"));
assertThat(link.getText().trim(), is("1"));

link.click();
assertThat(driver, hasContent("FindBugs Result"));
Expand Down

0 comments on commit 0a2472b

Please sign in to comment.