File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,7 @@ public function testVerifyingTamperedSignatureWithoutKeyFails(): void
149
149
$ this ->assertEquals (C::SIG_RSA_SHA256 , $ sigAlg );
150
150
151
151
$ this ->expectException (RuntimeException::class);
152
- $ this ->expectDeprecationMessage ('Failed to verify signature. ' );
152
+ $ this ->expectExceptionMessage ('Failed to verify signature. ' );
153
153
$ customSigned ->verify ();
154
154
}
155
155
@@ -171,7 +171,7 @@ public function testVerifyingTamperedSignatureWithKeyFails(): void
171
171
$ verifier = $ factory ->getAlgorithm ($ sigAlg , $ certificate ->getPublicKey ());
172
172
173
173
$ this ->expectException (RuntimeException::class);
174
- $ this ->expectDeprecationMessage ('Failed to verify signature. ' );
174
+ $ this ->expectExceptionMessage ('Failed to verify signature. ' );
175
175
$ customSigned ->verify ($ verifier );
176
176
}
177
177
You can’t perform that action at this time.
0 commit comments