Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
68 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
<?php | ||
|
||
namespace SimpleSAML\Test; | ||
|
||
use PHPUnit\Framework\TestCase; | ||
use SimpleSAML\Configuration; | ||
|
||
/** | ||
* Tests for the IdPDisco class. | ||
* | ||
* For the full copyright and license information, please view the LICENSE file that was | ||
* distributed with this source code. | ||
* | ||
* @author Tim van Dijen <tvdijen@gmail.com> | ||
* @package simplesamlphp/simplesamlphp | ||
*/ | ||
class IdPDiscoTest extends TestCase | ||
{ | ||
/** @var \SimpleSAML\Metadata\MetaDataStorageHandler */ | ||
private $mhandler; | ||
|
||
/** @var array */ | ||
private $config = [ | ||
'language' => [ | ||
'priorities' => [ | ||
'nl' => ['nl', 'en', 'de'], | ||
'es' => ['es', 'fr', 'cz'], | ||
], | ||
], | ||
'language.default' => 'nl', | ||
|
||
'metadata.sources' => [ | ||
[ | ||
'type' => 'xml', | ||
'file' => 'vendor/simplesamlphp/simplesamlphp-test-framework/metadata/xml/unsigned-metadata.xml' | ||
] | ||
], | ||
]; | ||
|
||
|
||
/** | ||
* @return void | ||
*/ | ||
public function setUp() | ||
{ | ||
$config = Configuration::loadFromArray($this->$config); | ||
|
||
Configuration::setPreloadedConfig($config, 'config.php'); | ||
|
||
$this->mhandler = MetaDataStorageHandler::getMetadataHandler(); | ||
} | ||
|
||
|
||
/** | ||
* | ||
*/ | ||
public function testPreferredTranslation() | ||
{ | ||
} | ||
|
||
|
||
/** | ||
* | ||
*/ | ||
public function testIdPSortingOrder() | ||
{ | ||
} | ||
} |