diff --git a/module/VuFind/tests/unit-tests/src/VuFindTest/Role/PermissionProvider/ShibbolethTest.php b/module/VuFind/tests/unit-tests/src/VuFindTest/Role/PermissionProvider/ShibbolethTest.php
index 86d752494c7d9a37edc8c3d1087234ac6b3b71de..af72ab2bd80581bb4371c5e5ba9c138504bebab0 100644
--- a/module/VuFind/tests/unit-tests/src/VuFindTest/Role/PermissionProvider/ShibbolethTest.php
+++ b/module/VuFind/tests/unit-tests/src/VuFindTest/Role/PermissionProvider/ShibbolethTest.php
@@ -63,7 +63,8 @@ class ShibbolethTest extends \VuFindTest\Unit\TestCase
     public function testMultivaluedOptionTrue()
     {
         $this->checkShibboleth(
-            ['affiliation' => 'student@example.org;member@example.org'],
+            ['Shib-Identity-Provider' => 'https://example.org/shibboleth-idp',
+             'affiliation' => 'student@example.org;member@example.org'],
             ['affiliation member@example.org'],
             ['loggedin']
         );
@@ -77,7 +78,8 @@ class ShibbolethTest extends \VuFindTest\Unit\TestCase
     public function testMultivaluedOptionFalse()
     {
         $this->checkShibboleth(
-            ['affiliation' => 'student@example.org;member@example.org'],
+            ['Shib-Identity-Provider' => 'https://example.org/shibboleth-idp',
+             'affiliation' => 'student@example.org;member@example.org'],
             ['affiliation staff@example.org'],
             []
         );