summaryrefslogtreecommitdiffstats
path: root/tests/lib/SimpleSAML/ConfigurationTest.php
Commit message (Collapse)AuthorAgeFilesLines
* Bump the version of the SAML2 library.Jaime Pérez2016-07-261-24/+24
| | | | Now we are finally using the 2.x branch of the SAML2 library, which was also migrated to use namespaces. Even though the library provides an autoloader that allows loading the classes with the old names using class aliasing, we need to do the migration in one commit (at least for most part of it). This is due to the way SimpleSAMLphp checks data types, using inheritance to check objects agains abstract or more general classes. Even though class aliasing works, there's no way to replicate those relationships, and type checks that use the old class names will fail because the aliases are virtually new classes that don't inherit from others.
* Lowercase true, false & null.Jaime Perez Crespo2016-06-081-34/+34
|
* Fix the tests to handle the new, more permissive behaviour of ↵Jaime Perez Crespo2016-06-081-34/+64
| | | | SimpleSAML_Configuration::getBaseURL(), and add tests for getBasePath() too.
* Start using the new configuration exceptions, handling error situations that ↵Jaime Perez Crespo2016-04-201-14/+22
| | | | before led to blank pages or even worse.
* Complete test coverage for SimpleSAML_Configuration::getEndpoints().Jaime Perez Crespo2016-02-041-2/+109
|
* Add more tests for SimpleSAML_Configuration.Jaime Perez Crespo2016-02-031-6/+27
|
* Add more tests for SimpleSAML_Configuration::getDefaultEndpoint() and ↵Jaime Perez Crespo2016-02-031-2/+55
| | | | SimpleSAML\Utils\Config\Metadata::getDefaultEndpoint().
* Add some tests for valid SAML endpoint configurations parsing.Jaime Perez Crespo2016-02-031-0/+141
|
* Add a test for SimpleSAML_Configuration::getConfigList().Jaime Perez Crespo2016-02-021-0/+17
|
* Make it possible to pre-load a configuration array into ↵Jaime Perez Crespo2016-02-021-0/+31
| | | | SimpleSAML_Configuration for subsequent calls to getInstance() to use it. This opens up for unit-testing code that calls SimpleSAML_Configuration::getInstance().
* Fix typos.Jaime Perez Crespo2015-05-271-2/+2
|
* Add tests for most functions in SimpleSAML_Configuration.Olav Morken2015-05-271-0/+525
Add tests for most of the data retrieval functions. No tests for the metadata functions present though.