Skip to content

Commit e1bbbda

Browse files
committed
fix test compat with web-token/jwt-library 3.3
1 parent 4fef9c0 commit e1bbbda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/SecurityBundle/Tests/Functional/AccessTokenTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ private static function createJwe(string $input, array $header = []): string
509509
return (new JweCompactSerializer())->serialize(
510510
(new JWEBuilder(new AlgorithmManager([
511511
new ECDHES(), new A128GCM(),
512-
])))->create()
512+
]), null))->create()
513513
->withPayload($input)
514514
->withSharedProtectedHeader(['alg' => 'ECDH-ES', 'enc' => 'A128GCM', ...$header])
515515
// tip: use https://mkjwk.org/ to generate a JWK

0 commit comments

Comments
 (0)