The Gitlab instance will be restarted on Monday April 28th at 2AM. There will be a short interruption of service.

Skip to content
Snippets Groups Projects
Commit 613a5c0d authored by Demian Katz's avatar Demian Katz
Browse files

Fixed broken tests.

parent eca2a9c1
No related merge requests found
......@@ -51,7 +51,7 @@ class ServerParamTest extends \VuFindTest\Unit\TestCase
$this->checkServerParams(
['testheader' => 'testvalue'],
'testheader testvalue',
['loggedin']
['guest', 'loggedin']
);
}
......@@ -65,7 +65,7 @@ class ServerParamTest extends \VuFindTest\Unit\TestCase
$this->checkServerParams(
['testheader' => 'testvalue'],
['testheader testvalue'],
['loggedin']
['guest', 'loggedin']
);
}
......@@ -79,7 +79,7 @@ class ServerParamTest extends \VuFindTest\Unit\TestCase
$this->checkServerParams(
['testheader1' => 'testvalue1', 'testheader2' => 'testvalue2'],
['testheader1 testvalue1', 'testheader2 testvalue2'],
['loggedin']
['guest', 'loggedin']
);
}
......@@ -107,7 +107,7 @@ class ServerParamTest extends \VuFindTest\Unit\TestCase
$this->checkServerParams(
['testheader' => 'testvalue1'],
['testheader testvalue1 testvalue2'],
['loggedin']
['guest', 'loggedin']
);
}
......@@ -135,7 +135,7 @@ class ServerParamTest extends \VuFindTest\Unit\TestCase
$this->checkServerParams(
['testheader' => 'testvalue'],
['testheader ~ ^testvalue$'],
['loggedin']
['guest', 'loggedin']
);
}
......@@ -163,7 +163,7 @@ class ServerParamTest extends \VuFindTest\Unit\TestCase
$this->checkServerParams(
['testheader' => 'testvalue'],
['testheader ! testval'],
['loggedin']
['guest', 'loggedin']
);
}
......@@ -191,7 +191,7 @@ class ServerParamTest extends \VuFindTest\Unit\TestCase
$this->checkServerParams(
['testheader' => 'testvalue'],
['testheader !~ testval$'],
['loggedin']
['guest', 'loggedin']
);
}
......
......@@ -51,7 +51,7 @@ class ShibbolethTest extends \VuFindTest\Unit\TestCase
$this->checkShibboleth(
['Shib-Identity-Provider' => 'https://example.org/shibboleth-idp'],
['idpentityid https://example.org/shibboleth-idp'],
['loggedin']
['guest', 'loggedin']
);
}
......@@ -66,7 +66,7 @@ class ShibbolethTest extends \VuFindTest\Unit\TestCase
['Shib-Identity-Provider' => 'https://example.org/shibboleth-idp',
'affiliation' => 'student@example.org;member@example.org'],
['affiliation member@example.org'],
['loggedin']
['guest', 'loggedin']
);
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment