Skip to content

Commit

Permalink
JUnit5: fix TestShrinkWrapUtils
Browse files Browse the repository at this point in the history
  • Loading branch information
WolfgangHG committed Dec 8, 2024
1 parent e128530 commit eb511f7
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ public class TestShrinkWrapUtils {
public void testJavaArchiveFromClass() throws Throwable {
JavaArchive archive = ShrinkWrapUtils.getJavaArchiveFromClass(Test.class);

assertNotNull(archive.get("/org/junit/Test.class"));
assertNotNull(archive.get("/org/junit/Ignore.class"));
assertNotNull(archive.get("/org/junit/jupiter/api/Test.class"));
assertNotNull(archive.get("/org/junit/jupiter/api/Disabled.class"));
}

@Test
Expand All @@ -42,8 +42,8 @@ public void testMultipleUse() throws Exception {

JavaArchive nestedArchive = ShrinkWrapUtils.getJavaArchiveFromClass(nestedClass);

assertNotNull(nestedArchive.get("/org/junit/Test.class"));
assertNotNull(nestedArchive.get("/org/junit/Ignore.class"));
assertNotNull(nestedArchive.get("/org/junit/jupiter/api/Test.class"));
assertNotNull(nestedArchive.get("/org/junit/jupiter/api/Disabled.class"));
}
}
}

0 comments on commit eb511f7

Please sign in to comment.