From 9ee32d34bc8d909dd829eba686f301b9ec7d883a Mon Sep 17 00:00:00 2001 From: briskt <3172830+briskt@users.noreply.github.com> Date: Tue, 30 Jul 2024 11:36:24 +0800 Subject: [PATCH] enable sildisco module to gain access to getIdpsForSp method --- tests/MetadataTest.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/MetadataTest.php b/tests/MetadataTest.php index 11b0a56..0eeca0a 100644 --- a/tests/MetadataTest.php +++ b/tests/MetadataTest.php @@ -28,8 +28,10 @@ class MetadataTest extends TestCase public static function setUpBeforeClass(): void { - // use default configuration to bypass the ssp-base config file that has required environment variables - Configuration::setPreLoadedConfig(Configuration::loadFromArray([])); + // override configuration to bypass the ssp-base config file that has required environment variables + Configuration::setPreLoadedConfig(Configuration::loadFromArray([ + 'module.enable' => ['sildisco' => true], // for IdPDisco::getIdpsForSp utility function + ])); } public function testIDPRemoteMetadataIDPCode()