diff --git a/build.gradle.kts b/build.gradle.kts
index b07b151..134857b 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -29,7 +29,7 @@ dependencies {
runtimeOnly("org.springframework.boot:spring-boot-devtools")
kapt("org.springframework.boot:spring-boot-configuration-processor")
testImplementation("org.springframework.boot:spring-boot-starter-test") {
- exclude(module = "junit")
+ exclude(group = "org.junit.vintage", module = "junit-vintage-engine")
exclude(module = "mockito-core")
}
testImplementation("org.junit.jupiter:junit-jupiter-api")
diff --git a/pom.xml b/pom.xml
index 78b1210..337dab5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -69,8 +69,8 @@
test
- junit
- junit
+ org.junit.vintage
+ junit-vintage-engine
org.mockito