From 1db054343283fe3e0bdb2a59587e9530ed997911 Mon Sep 17 00:00:00 2001 From: Tim van Dijen <tvdijen@gmail.com> Date: Mon, 5 Aug 2019 22:35:20 +0200 Subject: [PATCH] Fix namespaces --- tests/lib/SimpleSAML/Utils/AttributesTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/lib/SimpleSAML/Utils/AttributesTest.php b/tests/lib/SimpleSAML/Utils/AttributesTest.php index 08c872be6..5b6b33336 100644 --- a/tests/lib/SimpleSAML/Utils/AttributesTest.php +++ b/tests/lib/SimpleSAML/Utils/AttributesTest.php @@ -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.' ); -- GitLab