File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 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
149149 $ this ->assertEquals (C::SIG_RSA_SHA256 , $ sigAlg );
150150
151151 $ this ->expectException (RuntimeException::class);
152- $ this ->expectDeprecationMessage ('Failed to verify signature. ' );
152+ $ this ->expectExceptionMessage ('Failed to verify signature. ' );
153153 $ customSigned ->verify ();
154154 }
155155
@@ -171,7 +171,7 @@ public function testVerifyingTamperedSignatureWithKeyFails(): void
171171 $ verifier = $ factory ->getAlgorithm ($ sigAlg , $ certificate ->getPublicKey ());
172172
173173 $ this ->expectException (RuntimeException::class);
174- $ this ->expectDeprecationMessage ('Failed to verify signature. ' );
174+ $ this ->expectExceptionMessage ('Failed to verify signature. ' );
175175 $ customSigned ->verify ($ verifier );
176176 }
177177
You can’t perform that action at this time.
0 commit comments