After replacing JUnit 4 with JUnit 5 in the issue https://issues.redhat.com/browse/SHRINKWRAP-541, the test method testAddDefaultPackage() of the test class DefaultPackageAddTestCase is failing.
The test expects the archive to contain three classes: DefaultPackageAddedTestCase.class, ClassInDefaultPackage.class, and ClassInDefaultPackage$InnerClassInDefaultPackage.class, but since changing to JUnit 5, the archive also contains module-info.class.
We need to check why that is and whether we need to modify the addDefaultPackage() method that is being tested there.
After replacing JUnit 4 with JUnit 5 in the issue https://issues.redhat.com/browse/SHRINKWRAP-541, the test method testAddDefaultPackage() of the test class DefaultPackageAddTestCase is failing.
The test expects the archive to contain three classes: DefaultPackageAddedTestCase.class, ClassInDefaultPackage.class, and ClassInDefaultPackage$InnerClassInDefaultPackage.class, but since changing to JUnit 5, the archive also contains module-info.class.
We need to check why that is and whether we need to modify the addDefaultPackage() method that is being tested there.