diff --git a/tests/tas-restapi/pom.xml b/tests/tas-restapi/pom.xml
index 66e74818b..71a75bebf 100644
--- a/tests/tas-restapi/pom.xml
+++ b/tests/tas-restapi/pom.xml
@@ -84,10 +84,8 @@
${suiteXmlFile}
-
--illegal-access=warn
- --add-opens=java.base/java.lang=ALL-UNNAMED