Skip to content

Commit

Permalink
enable sildisco module to gain access to getIdpsForSp method
Browse files Browse the repository at this point in the history
  • Loading branch information
briskt committed Jul 30, 2024
1 parent 844f542 commit 9ee32d3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/MetadataTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 9ee32d3

Please sign in to comment.