diff --git a/tests/SigningTestCase.php b/tests/SigningTestCase.php
index 44f929e5ea6e9fb09cefe0efb85795701fcce8b1..c3d8d30431680b014b1be45a923695697fe9fac3 100644
--- a/tests/SigningTestCase.php
+++ b/tests/SigningTestCase.php
@@ -166,12 +166,12 @@ NOWDOC;
     /** @var \SimpleSAML\Configuration */
     protected $config;
 
-    private const ROOTDIRNAME = 'testdir';
-    private const DEFAULTCERTDIR = 'certdir';
-    private const CA_PRIVATE_KEY = 'ca.key.pem';
-    private const CA_CERTIFICATE = 'ca.cert.pem';
-    private const GOOD_PRIVATE_KEY = 'good.key.pem';
-    private const GOOD_CERTIFICATE = 'good.cert.pem';
+    protected const ROOTDIRNAME = 'testdir';
+    protected const DEFAULTCERTDIR = 'certdir';
+    protected const CA_PRIVATE_KEY = 'ca.key.pem';
+    protected const CA_CERTIFICATE = 'ca.cert.pem';
+    protected const GOOD_PRIVATE_KEY = 'good.key.pem';
+    protected const GOOD_CERTIFICATE = 'good.cert.pem';
 
 
     /**
diff --git a/tests/lib/SimpleSAML/XML/SignerTest.php b/tests/lib/SimpleSAML/XML/SignerTest.php
index 9f972b9edf89541fdf65fd699fded324a5d94aed..a6fd021fac1b0548521386951ff2f6fe0f454fdd 100644
--- a/tests/lib/SimpleSAML/XML/SignerTest.php
+++ b/tests/lib/SimpleSAML/XML/SignerTest.php
@@ -48,10 +48,6 @@ d2udRIYG0WcjQTk86+EraXNGtuwUaknQ7WPKlJwLzypuZM8lk3F1FXxXWomHN3SH
 -----END CERTIFICATE-----
 NOWDOC;
 
-    private const ROOTDIRNAME = 'testdir';
-
-    private const DEFAULTCERTDIR = 'certdir';
-
     private const OTHER_CERTIFICATE = 'other_certificate.pem';