From d8e94852da8bfa9e050485e142cf79e88a099894 Mon Sep 17 00:00:00 2001 From: Gustavo Lopes Date: Wed, 31 Dec 2025 08:42:58 -0300 Subject: [PATCH] Fix appsec int tests not actually running After upgrade to Gradle --- appsec/tests/integration/build.gradle | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/appsec/tests/integration/build.gradle b/appsec/tests/integration/build.gradle index 41a2edf02f..a3c93dbb14 100644 --- a/appsec/tests/integration/build.gradle +++ b/appsec/tests/integration/build.gradle @@ -42,6 +42,7 @@ dependencies { implementation 'com.flipkart.zjsonpatch:zjsonpatch:0.4.16' implementation 'org.junit.jupiter:junit-jupiter-engine:5.12.2' implementation 'org.junit.jupiter:junit-jupiter-params:5.12.2' + implementation 'org.junit.platform:junit-platform-launcher' testRuntimeOnly 'com.mysql:mysql-connector-j:9.3.0' } @@ -425,6 +426,9 @@ testMatrix.each { spec -> excludeEngines('junit-vintage') } + it.testClassesDirs = sourceSets.test.output.classesDirs + it.classpath = sourceSets.test.runtimeClasspath + it.systemProperty 'PHP_VERSION', phpVersion it.systemProperty 'VARIANT', variant if (project.hasProperty('XDEBUG')) {