From c17a78f7a7fc6d4edb4093352882c809bd0332a0 Mon Sep 17 00:00:00 2001 From: Michael Osipov Date: Fri, 2 Jun 2023 16:20:11 +0200 Subject: [PATCH] [MPIR-441] Fix DependenciesReportTest This closes #62 --- pom.xml | 9 --------- .../maven/report/projectinfo/DependenciesReportTest.java | 3 ++- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/pom.xml b/pom.xml index b456d381..a6a4ea1c 100644 --- a/pom.xml +++ b/pom.xml @@ -498,15 +498,6 @@ under the License. - - maven-surefire-plugin - - - **/DependenciesReportTest* - - - - org.codehaus.mojo diff --git a/src/test/java/org/apache/maven/report/projectinfo/DependenciesReportTest.java b/src/test/java/org/apache/maven/report/projectinfo/DependenciesReportTest.java index 445cbec3..1a2f36e3 100644 --- a/src/test/java/org/apache/maven/report/projectinfo/DependenciesReportTest.java +++ b/src/test/java/org/apache/maven/report/projectinfo/DependenciesReportTest.java @@ -65,7 +65,8 @@ public void testReport() throws Exception { // Test the tables WebTable[] webTables = response.getTables(); - assertEquals(webTables.length, 1); + // One table with listing and one table per artifact popup + assertEquals(webTables.length, 3); assertEquals(webTables[0].getColumnCount(), 5); assertEquals(