This is an automated email from the ASF dual-hosted git repository.

michaelo pushed a commit to branch MPIR-441
in repository 
https://gitbox.apache.org/repos/asf/maven-project-info-reports-plugin.git

commit c17a78f7a7fc6d4edb4093352882c809bd0332a0
Author: Michael Osipov <[email protected]>
AuthorDate: Fri Jun 2 16:20:11 2023 +0200

    [MPIR-441] Fix DependenciesReportTest
    
    This closes #62
---
 pom.xml                                                          | 9 ---------
 .../apache/maven/report/projectinfo/DependenciesReportTest.java  | 3 ++-
 2 files changed, 2 insertions(+), 10 deletions(-)

diff --git a/pom.xml b/pom.xml
index b456d38..a6a4ea1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -498,15 +498,6 @@ under the License.
       </plugins>
     </pluginManagement>
     <plugins>
-      <plugin>
-        <artifactId>maven-surefire-plugin</artifactId>
-        <configuration>
-          <excludes>
-            <exclude>**/DependenciesReportTest*</exclude>
-            <!-- FIXME: missing Maven 3 class or conflict -->
-          </excludes>
-        </configuration>
-      </plugin>
       <!-- To use Jetty SSL in tests -->
       <plugin>
         <groupId>org.codehaus.mojo</groupId>
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 445cbec..1a2f36e 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 class DependenciesReportTest extends 
AbstractProjectInfoTestCase {
 
         // 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(

Reply via email to