Skip to content

Commit 1e38574

Browse files
authored
Merge pull request #3552 from DataDog/glopes/fix-appsec-int-tests
Fix appsec int tests not actually running
2 parents b74a962 + d8e9485 commit 1e38574

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

appsec/tests/integration/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ dependencies {
4242
implementation 'com.flipkart.zjsonpatch:zjsonpatch:0.4.16'
4343
implementation 'org.junit.jupiter:junit-jupiter-engine:5.12.2'
4444
implementation 'org.junit.jupiter:junit-jupiter-params:5.12.2'
45+
implementation 'org.junit.platform:junit-platform-launcher'
4546

4647
testRuntimeOnly 'com.mysql:mysql-connector-j:9.3.0'
4748
}
@@ -425,6 +426,9 @@ testMatrix.each { spec ->
425426
excludeEngines('junit-vintage')
426427
}
427428

429+
it.testClassesDirs = sourceSets.test.output.classesDirs
430+
it.classpath = sourceSets.test.runtimeClasspath
431+
428432
it.systemProperty 'PHP_VERSION', phpVersion
429433
it.systemProperty 'VARIANT', variant
430434
if (project.hasProperty('XDEBUG')) {

0 commit comments

Comments
 (0)