We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bfcd7b3 commit a5ea684Copy full SHA for a5ea684
tests/XML/SignedElementTest.php
@@ -12,6 +12,7 @@
12
use SimpleSAML\XMLSecurity\Constants as C;
13
use SimpleSAML\XMLSecurity\CryptoEncoding\PEM;
14
use SimpleSAML\XMLSecurity\Exception\RuntimeException;
15
+use SimpleSAML\XMLSecurity\Exception\SignatureVerificationFailedException;
16
use SimpleSAML\XMLSecurity\Key\PublicKey;
17
use SimpleSAML\XMLSecurity\Key\X509Certificate;
18
use SimpleSAML\XMLSecurity\Test\XML\CustomSignable;
@@ -138,7 +139,7 @@ public function testSuccessfulVerifyingWithWrongKeyFirstRightOneSecond(): void
138
139
try {
140
$verified = $customSigned->verify($verifier);
141
break 1;
- } catch (\SimpleSAML\XMLSecurity\Exception\SignatureVerificationFailedException $e) {
142
+ } catch (SignatureVerificationFailedException $e) {
143
continue;
144
}
145
0 commit comments