feat: Add mockito for mockBeans in tests
This commit is contained in:
parent
edc2bf70c6
commit
40111b4e03
1 changed files with 2 additions and 0 deletions
|
@ -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<Test> {
|
|||
useJUnitPlatform()
|
||||
|
||||
systemProperty("spring.profiles.active", "test")
|
||||
jvmArgs("-XX:+EnableDynamicAgentLoading") // DynamicAgentLoading for byteBuddy within Mockito
|
||||
testLogging.showStandardStreams = true
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue