diff --git a/build.gradle.kts b/build.gradle.kts index f6c7c81..12fdfda 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -50,6 +50,7 @@ dependencies { testImplementation("org.springframework.boot:spring-boot-starter-test") testImplementation("org.springframework.security:spring-security-test") testImplementation("org.assertj:assertj-core") + testImplementation("org.mockito:mockito-core") testRuntimeOnly("org.junit.platform:junit-platform-launcher") } @@ -58,5 +59,6 @@ tasks.withType { useJUnitPlatform() systemProperty("spring.profiles.active", "test") + jvmArgs("-XX:+EnableDynamicAgentLoading") // DynamicAgentLoading for byteBuddy within Mockito testLogging.showStandardStreams = true }