Skip to content

Commit 6445069

Browse files
Fixed tests.
1 parent 1664d58 commit 6445069

File tree

3 files changed

+9
-1
lines changed
  • dd-java-agent/instrumentation
  • dd-smoke-tests/iast-propagation

3 files changed

+9
-1
lines changed

dd-java-agent/instrumentation/rs/jax-rs/jax-rs-annotations/jax-rs-annotations-1/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,7 @@ dependencies {
1818

1919
testImplementation group: 'io.dropwizard', name: 'dropwizard-testing', version: '0.7.1'
2020
testImplementation group: 'javax.xml.bind', name: 'jaxb-api', version: '2.2.3'
21+
22+
// This module still needs Spock with JUnit4.
23+
testImplementation(libs.spock.junit4)
2124
}

dd-java-agent/instrumentation/spring/spring-webflux/spring-webflux-6.0/build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,10 @@ dependencies {
6060
iastTestImplementation group: 'org.springframework.boot', name: 'spring-boot-starter-test', version: '3.0.0'
6161
iastTestImplementation group: 'org.springframework.boot', name: 'spring-boot-starter-reactor-netty', version: '3.0.0'
6262
iastTestImplementation group: 'org.springframework.boot', name: 'spring-boot-starter-json', version: '3.0.0'
63+
64+
testImplementation(libs.spock.spring)
65+
bootTestImplementation(libs.spock.spring)
66+
latestDepBootTestImplementation(libs.spock.spring)
67+
iastTestImplementation(libs.spock.spring)
6368
}
6469

dd-smoke-tests/iast-propagation/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ dependencies {
4242
testImplementation project(':dd-smoke-tests')
4343
testImplementation(testFixtures(project(":dd-smoke-tests:iast-util")))
4444

45-
compileOnly(libs.bundles.groovy)
45+
implementation(libs.bundles.groovy)
4646
}
4747

4848
tasks.withType(Test).configureEach {

0 commit comments

Comments
 (0)