Skip to content

Commit d8e9485

Browse files
committed
Fix appsec int tests not actually running
After upgrade to Gradle
1 parent 575faf4 commit d8e9485

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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)