Skip to content
Snippets Groups Projects
Unverified Commit bd35d424 authored by Jaime Pérez Crespo's avatar Jaime Pérez Crespo
Browse files

Update test to use namespaces.

parent 81db4aaa
No related branches found
No related tags found
No related merge requests found
......@@ -107,10 +107,13 @@ class ModuleTest extends TestCase
$this->assertEquals('sspmod_core_ACL', Module::resolveClass('core:ACL', ''));
// test for the $type parameter correctly translated into a path
$this->assertEquals('sspmod_core_Auth_Process_PHP', Module::resolveClass('core:PHP', 'Auth_Process'));
$this->assertEquals(
'\SimpleSAML\Module\core\Auth\Process\PHP',
Module::resolveClass('core:PHP', 'Auth_Process')
);
// test for valid subclasses
$this->assertEquals('sspmod_core_Auth_Process_PHP', Module::resolveClass(
$this->assertEquals('\SimpleSAML\Module\core\Auth\Process\PHP', Module::resolveClass(
'core:PHP',
'Auth\Process',
'\SimpleSAML\Auth\ProcessingFilter'
......
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