Revert change to remove junit-vintage-engine exclusions

See note about exclusion in Spring Boot docs:
https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#boot-features-testing
This commit is contained in:
Roy Clarkson
2019-11-25 21:21:47 -05:00
parent eafa10acd9
commit 37f5385cf8
6 changed files with 18 additions and 6 deletions

View File

@@ -36,7 +36,9 @@ dependencies {
implementation project(":spring-cloud-starter-app-broker-cloudfoundry")
implementation("org.springframework.boot:spring-boot-starter-webflux")
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("org.springframework.boot:spring-boot-starter-test") {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
testImplementation("io.projectreactor:reactor-test")
}

View File

@@ -37,7 +37,9 @@ dependencies {
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("org.springframework.boot:spring-boot-starter-test") {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
testImplementation("io.projectreactor.tools:blockhound-junit-platform:${blockHoundVersion}")
}

View File

@@ -35,7 +35,9 @@ dependencies {
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("org.springframework.boot:spring-boot-starter-test") {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
testImplementation("io.projectreactor:reactor-test")
testImplementation("io.projectreactor.tools:blockhound-junit-platform:${blockHoundVersion}")
}

View File

@@ -28,6 +28,8 @@ dependencies {
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("org.springframework.boot:spring-boot-starter-test") {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
testImplementation("io.projectreactor.tools:blockhound-junit-platform:${blockHoundVersion}")
}

View File

@@ -40,7 +40,9 @@ dependencies {
implementation project(":spring-cloud-starter-app-broker-cloudfoundry")
implementation("org.springframework.boot:spring-boot-starter-webflux")
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("org.springframework.boot:spring-boot-starter-test") {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
testImplementation("io.rest-assured:rest-assured")
testImplementation("com.github.tomakehurst:wiremock:${wiremockVersion}")
}

View File

@@ -28,7 +28,9 @@ dependencies {
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("org.springframework.boot:spring-boot-starter-test") {
exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
}
testImplementation("io.projectreactor:reactor-test")
testImplementation("io.projectreactor.tools:blockhound-junit-platform:${blockHoundVersion}")
}