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

Fix TooManyArguments

parent 1db05434
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,7 @@
namespace SimpleSAML\Test\Utils;
use InvalidArgumentException;
use PHPUnit\Framework\TestCase;
use SimpleSAML\Utils\Config;
......@@ -73,8 +74,8 @@ class ConfigTest extends TestCase
$invalidDir = __DIR__.'/e9826ad19cbc4f5bf20c0913ffcd2ce6';
putenv('SIMPLESAMLPHP_CONFIG_DIR='.$invalidDir);
$this->expectException(
\InvalidArgumentException::class,
$this->expectException(InvalidArgumentException::class);
$this->expectExceptionMessage(
'Config directory specified by environment variable SIMPLESAMLPHP_CONFIG_DIR is not a directory. '.
'Given: "'.$invalidDir.'"'
);
......
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