From dffe63c541cdd216159534e5479bc5e1a3e85931 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Pe=CC=81rez=20Crespo?= <jaime.perez@uninett.no> Date: Thu, 7 Sep 2017 16:29:17 +0200 Subject: [PATCH] Try to fix build again. Avoid failing assertions. --- tests/lib/SimpleSAML/Auth/SimpleTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/lib/SimpleSAML/Auth/SimpleTest.php b/tests/lib/SimpleSAML/Auth/SimpleTest.php index e47fce294..8bd5cf8fd 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 -- GitLab