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

Fix namespaces

parent 892a67a5
No related branches found
No related tags found
No related merge requests found
......@@ -77,7 +77,7 @@ class AttributesTest extends TestCase
'attribute' => ['value'],
];
$expected = 'missing';
$this->expectException(SimpleSAML\Error\Exception::class);
$this->expectException(\SimpleSAML\Error\Exception::class);
$this->expectExceptionMessage("No such attribute '".$expected."' found.");
Attributes::getExpectedAttribute($attributes, $expected);
}
......@@ -94,7 +94,7 @@ class AttributesTest extends TestCase
'attribute' => [],
];
$expected = 'attribute';
$this->expectException(SimpleSAML\Error\Exception::class);
$this->expectException(\SimpleSAML\Error\Exception::class);
$this->expectExceptionMessage("Empty attribute '".$expected."'.'");
Attributes::getExpectedAttribute($attributes, $expected);
}
......@@ -114,7 +114,7 @@ class AttributesTest extends TestCase
],
];
$expected = 'attribute';
$this->expectException(SimpleSAML\Error\Exception::class);
$this->expectException(\SimpleSAML\Error\Exception::class);
$this->expectExceptionMessage(
'More than one value found for the attribute, multiple values not allowed.'
);
......
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