Skip to content

Commit

Permalink
[JENKINS-39947] Fixed test case that now has correct link references.
Browse files Browse the repository at this point in the history
  • Loading branch information
uhafner committed Jun 7, 2017
1 parent cd51527 commit e1494cb
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/test/java/plugins/AnalysisCollectorPluginTest.java
Expand Up @@ -259,7 +259,7 @@ public void should_set_warnings_count_in_list_view_column() {
FreeStyleJob job = createFreeStyleJob();
buildSuccessfulJob(job);

ListView view = jenkins.views.create(ListView.class);
ListView view = jenkins.views.create(ListView.class, "list");
view.configure();
view.matchAllJobs();
view.addColumn(AnalysisCollectorColumn.class);
Expand All @@ -272,10 +272,10 @@ public void should_set_warnings_count_in_list_view_column() {
String tooltip = warningsCell.getAttribute("tooltip");
assertThat(tooltip,
allOf(
containsString("<a href=\"job/" + job.name + "/checkstyle\">" + CHECKSTYLE_ALL + "</a>"),
containsString("<a href=\"job/" + job.name + "/findbugs\">" + FINDBUGS_ALL + "</a>"),
containsString("<a href=\"job/" + job.name + "/pmd\">" + PMD_ALL + "</a>"),
containsString("<a href=\"job/" + job.name + "/warnings\">" + WARNINGS_ALL + "</a>")
containsString("<a href=\"view/list/job/" + job.name + "/checkstyle\">" + CHECKSTYLE_ALL + "</a>"),
containsString("<a href=\"view/list/job/" + job.name + "/findbugs\">" + FINDBUGS_ALL + "</a>"),
containsString("<a href=\"view/list/job/" + job.name + "/pmd\">" + PMD_ALL + "</a>"),
containsString("<a href=\"view/list/job/" + job.name + "/warnings\">" + WARNINGS_ALL + "</a>")
)
);

Expand Down

0 comments on commit e1494cb

Please sign in to comment.