Skip to content
Snippets Groups Projects
Commit c774b2c8 authored by Marko Ivancic's avatar Marko Ivancic
Browse files

WIP

parent ed17f707
No related branches found
No related tags found
1 merge request!1Relate histories
......@@ -21,7 +21,7 @@
},
"autoload-dev": {
"psr-4": {
"SimpleSAML\\Test\\Module\\accounting\\": "tests/"
"SimpleSAML\\Test\\Module\\accounting\\": "tests/src"
}
},
"require": {
......
<?php
namespace SimpleSAML\Module\accounting\Exceptions;
namespace SimpleSAML\Module\accounting\Exceptions\ModuleConfiguration;
class InvalidConfigurationNameException extends \InvalidArgumentException
{
......
......@@ -3,7 +3,7 @@
namespace SimpleSAML\Module\accounting;
use SimpleSAML\Configuration;
use SimpleSAML\Module\accounting\Exceptions\InvalidConfigurationNameException;
use SimpleSAML\Module\accounting\Exceptions\ModuleConfiguration\InvalidConfigurationNameException;
class ModuleConfiguration
{
......
......@@ -13,6 +13,7 @@ class ModuleConfigurationTest extends TestCase
{
public function testSample(): void
{
// Configuration directory is set by phpunit using php ENV setting feature (check phpunit.xml).
$moduleConfiguration = new ModuleConfiguration('module_accounting_basic.php');
$this->assertInstanceOf(Configuration::class, $moduleConfiguration->getConfiguration());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment