Skip to content
Snippets Groups Projects
Commit 29960f7e authored by Thijs Kinkhorst's avatar Thijs Kinkhorst
Browse files

Fix broken test that was never ran because of typo in method name

parent ee81462b
Branches
Tags
No related merge requests found
......@@ -108,19 +108,19 @@ class ModuleTest extends TestCase
* Test for SimpleSAML\Module::resolveClass(). It covers all the valid use cases.
* @return void
*/
public function tesstResolveClass()
public function testResolveClass()
{
// most basic test
$this->assertEquals('sspmod_core_ACL', Module::resolveClass('core:ACL', ''));
$this->assertEquals('SimpleSAML\Module\cron\Cron', Module::resolveClass('cron:Cron', ''));
// test for the $type parameter correctly translated into a path
$this->assertEquals(
'\SimpleSAML\Module\core\Auth\Process\PHP',
Module::resolveClass('core:PHP', 'Auth_Process')
'SimpleSAML\Module\core\Auth\Process\PHP',
Module::resolveClass('core:PHP', 'Auth\Process')
);
// test for valid subclasses
$this->assertEquals('\SimpleSAML\Module\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.
Please register or to comment