Skip to content

Commit a5ea684

Browse files
committed
Add use-statement
1 parent bfcd7b3 commit a5ea684

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/XML/SignedElementTest.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
use SimpleSAML\XMLSecurity\Constants as C;
1313
use SimpleSAML\XMLSecurity\CryptoEncoding\PEM;
1414
use SimpleSAML\XMLSecurity\Exception\RuntimeException;
15+
use SimpleSAML\XMLSecurity\Exception\SignatureVerificationFailedException;
1516
use SimpleSAML\XMLSecurity\Key\PublicKey;
1617
use SimpleSAML\XMLSecurity\Key\X509Certificate;
1718
use SimpleSAML\XMLSecurity\Test\XML\CustomSignable;
@@ -138,7 +139,7 @@ public function testSuccessfulVerifyingWithWrongKeyFirstRightOneSecond(): void
138139
try {
139140
$verified = $customSigned->verify($verifier);
140141
break 1;
141-
} catch (\SimpleSAML\XMLSecurity\Exception\SignatureVerificationFailedException $e) {
142+
} catch (SignatureVerificationFailedException $e) {
142143
continue;
143144
}
144145
}

0 commit comments

Comments
 (0)