diff --git a/tests/lib/SimpleSAML/Auth/SimpleTest.php b/tests/lib/SimpleSAML/Auth/SimpleTest.php
index e47fce2948f02756b2d312a5d65007e103ead7f3..8bd5cf8fdd5f1770ba1b1477a1e15908803f3259 100644
--- a/tests/lib/SimpleSAML/Auth/SimpleTest.php
+++ b/tests/lib/SimpleSAML/Auth/SimpleTest.php
@@ -28,7 +28,7 @@ class SimpleTest extends \SimpleSAML\Test\Utils\ClearStateTestCase
             )
         ), '[ARRAY]', 'simplesaml');
 
-        $s = new \SimpleSAML\Auth\Simple(null);
+        $s = new \SimpleSAML\Auth\Simple('');
 
         $this->assertEquals('https://example.org/', $method->invokeArgs($s, array(null)));
 
@@ -55,7 +55,7 @@ class SimpleTest extends \SimpleSAML\Test\Utils\ClearStateTestCase
                 'baseURL' => 'http://example.org:8080/'
             )
         ), '[ARRAY]', 'simplesaml');
-        $s = new \SimpleSAML\Auth\Simple(null);
+        $s = new \SimpleSAML\Auth\Simple('');
         $this->assertEquals('http://example.org:8080/foo/bar?a=b#fragment', $method->invokeArgs($s, array(null)));
 
         // test again with a relative URL as a parameter
@@ -67,7 +67,7 @@ class SimpleTest extends \SimpleSAML\Test\Utils\ClearStateTestCase
         // now test with no configuration
         $_SERVER['SERVER_NAME'] = 'example.org';
         \SimpleSAML_Configuration::loadFromArray(array(), '[ARRAY]', 'simplesaml');
-        $s = new \SimpleSAML\Auth\Simple(null);
+        $s = new \SimpleSAML\Auth\Simple('');
         $this->assertEquals('http://example.org:1234/foo/bar?a=b#fragment', $method->invokeArgs($s, array(null)));
 
         // no configuration, https and port