Skip to content

Commit 10417db

Browse files
committed
Remove testcontainer's dependency onto JUnit 4
1 parent ac4293d commit 10417db

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

testcontainers-selenium/pom.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,20 @@
9292
<groupId>org.testcontainers</groupId>
9393
<artifactId>testcontainers</artifactId>
9494
<version>1.21.0</version>
95+
<exclusions>
96+
<!-- No JUnit 4 -->
97+
<exclusion>
98+
<groupId>junit</groupId>
99+
<artifactId>junit</artifactId>
100+
</exclusion>
101+
</exclusions>
95102
</dependency>
103+
<dependency>
104+
<groupId>software.xdev</groupId>
105+
<artifactId>testcontainers-junit4-mock</artifactId>
106+
<version>1.0.1</version>
107+
</dependency>
108+
96109
<!-- Testcontainers is using outdated v1 -->
97110
<dependency>
98111
<groupId>org.slf4j</groupId>

0 commit comments

Comments
 (0)