Skip to content
Snippets Groups Projects
Commit 35994db1 authored by Tim van Dijen's avatar Tim van Dijen
Browse files

Fix tests

parent 163e8e95
No related branches found
No related tags found
No related merge requests found
......@@ -24,7 +24,7 @@ function temporaryLoader($class)
$new = '\\RobRichards\\XMLSecLibs\\'.$class;
if (class_exists($new, true)) {
class_alias($new, $class);
SimpleSAML\Logger::warning("The class or interface '$class' is now using namespaces, please use '$new'.");
SimpleSAML\Logger::warning("The class '$class' is now using namespaces, please use '$new'.");
return;
}
}
......
......@@ -3,9 +3,19 @@
namespace SimpleSAML\Test;
use PHPUnit\Framework\TestCase;
use SimpleSAML\Configuration;
class AutoloadModulesTest extends TestCase
{
/**
* Set up for each test.
*/
protected function setUp()
{
parent::setUp();
$config = Configuration::loadFromArray([], '[ARRAY]', 'simplesaml');
}
/**
* @test
* @runInSeparateProcess
......@@ -17,7 +27,6 @@ class AutoloadModulesTest extends TestCase
/**
* @test
* @runInSeparateProcess
*/
public function autoloaderSubstitutesNamespacedXmlSecClassesWhereNonNamespacedClassWasUsed()
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment