Skip to content
Permalink
Browse files

[JENKINS-39947] Fixed test case that now has correct link references.

  • Loading branch information...
uhafner committed Jun 7, 2017
1 parent cd51527 commit e1494cbc54b5ed731bfff007a59d7569fc695de4
Showing with 5 additions and 5 deletions.
  1. +5 −5 src/test/java/plugins/AnalysisCollectorPluginTest.java
@@ -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);
@@ -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>")
)
);

0 comments on commit e1494cb

Please sign in to comment.
You can’t perform that action at this time.