File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -117,12 +117,16 @@ public function test_eddsa_algorithms()
117117 public function test_multiple_keys ()
118118 {
119119 $ privateKey1 = new RsaPrivateKey (
120- __DIR__ . '/../assets/keys/rsa-private.pem ' , '' , 'key-1 '
120+ __DIR__ . '/../assets/keys/rsa-private.pem ' ,
121+ '' ,
122+ 'key-1 '
121123 );
122124 $ publicKey1 = new RsaPublicKey (__DIR__ . '/../assets/keys/rsa-public.pem ' , 'key-1 ' );
123125
124126 $ privateKey2 = new EcdsaPrivateKey (
125- __DIR__ . '/../assets/keys/ecdsa384-private.pem ' , '' , 'key-2 '
127+ __DIR__ . '/../assets/keys/ecdsa384-private.pem ' ,
128+ '' ,
129+ 'key-2 '
126130 );
127131 $ publicKey2 = new EcdsaPublicKey (__DIR__ . '/../assets/keys/ecdsa384-public.pem ' , 'key-2 ' );
128132
Original file line number Diff line number Diff line change @@ -25,7 +25,9 @@ class VerifierFactoryTest extends TestCase
2525 public function test_getVerifier_it_should_return_the_right_verifier ()
2626 {
2727 $ privateKey = new RsaPrivateKey (
28- __DIR__ . '/../assets/keys/rsa-private.pem ' , '' , 'key-1 '
28+ __DIR__ . '/../assets/keys/rsa-private.pem ' ,
29+ '' ,
30+ 'key-1 '
2931 );
3032 $ publicKey = new RsaPublicKey (__DIR__ . '/../assets/keys/rsa-public.pem ' , 'key-1 ' );
3133
You can’t perform that action at this time.
0 commit comments