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

slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-ejb-plugin.git

commit 69e3294a7f07e7c35be676dc4d4b9df20db08f97
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Tue Nov 17 03:28:37 2026 +0000

    Use JUnit 5 assertions and Mockito best practices in tests
---
 src/test/java/org/apache/maven/plugins/ejb/EjbMojoTest.java | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/test/java/org/apache/maven/plugins/ejb/EjbMojoTest.java 
b/src/test/java/org/apache/maven/plugins/ejb/EjbMojoTest.java
index 68d1e41..04c4636 100644
--- a/src/test/java/org/apache/maven/plugins/ejb/EjbMojoTest.java
+++ b/src/test/java/org/apache/maven/plugins/ejb/EjbMojoTest.java
@@ -542,17 +542,17 @@ class EjbMojoTest {
     }
 
     @Test
-    void testEjb2VersionValidation() throws MojoExecutionException {
+    void testEjb2VersionValidation() throws Exception {
         EjbMojo.validateEjbVersion("2.1");
     }
 
     @Test
-    void testEjb3VersionValidation() throws MojoExecutionException {
+    void testEjb3VersionValidation() throws Exception {
         EjbMojo.validateEjbVersion("3.2");
     }
 
     @Test
-    void testEjb4VersionValidation() throws MojoExecutionException {
+    void testEjb4VersionValidation() throws Exception {
         EjbMojo.validateEjbVersion("4.0");
     }
 

Reply via email to