From: =?utf-8?q?David_Pr=C3=A9vot?= <david@tilapin.org>
Date: Tue, 23 May 2023 23:30:52 +0200
Subject: Group jwt for tests depending on it

---
 .../Bundle/SecurityBundle/Tests/Functional/AccessTokenTest.php       | 1 +
 .../Security/Http/Tests/AccessToken/Oidc/OidcTokenHandlerTest.php    | 5 +++++
 2 files changed, 6 insertions(+)

diff --git a/src/Symfony/Bundle/SecurityBundle/Tests/Functional/AccessTokenTest.php b/src/Symfony/Bundle/SecurityBundle/Tests/Functional/AccessTokenTest.php
index 6cc2b1f..72398fa 100644
--- a/src/Symfony/Bundle/SecurityBundle/Tests/Functional/AccessTokenTest.php
+++ b/src/Symfony/Bundle/SecurityBundle/Tests/Functional/AccessTokenTest.php
@@ -347,6 +347,7 @@ class AccessTokenTest extends AbstractWebTestCase
 
     /**
      * @requires extension openssl
+     * @group jwt
      */
     public function testOidcSuccess()
     {
diff --git a/src/Symfony/Component/Security/Http/Tests/AccessToken/Oidc/OidcTokenHandlerTest.php b/src/Symfony/Component/Security/Http/Tests/AccessToken/Oidc/OidcTokenHandlerTest.php
index f2c1993..f019857 100644
--- a/src/Symfony/Component/Security/Http/Tests/AccessToken/Oidc/OidcTokenHandlerTest.php
+++ b/src/Symfony/Component/Security/Http/Tests/AccessToken/Oidc/OidcTokenHandlerTest.php
@@ -33,6 +33,7 @@ class OidcTokenHandlerTest extends TestCase
 
     /**
      * @dataProvider getClaims
+     * @group jwt
      */
     public function testGetsUserIdentifierFromSignedToken(string $claim, string $expected)
     {
@@ -77,6 +78,7 @@ class OidcTokenHandlerTest extends TestCase
 
     /**
      * @dataProvider getInvalidTokens
+     * @group jwt
      */
     public function testThrowsAnErrorIfTokenIsInvalid(string $token)
     {
@@ -126,6 +128,9 @@ class OidcTokenHandlerTest extends TestCase
         ];
     }
 
+    /**
+     * @group jwt
+     */
     public function testThrowsAnErrorIfUserPropertyIsMissing()
     {
         $this->expectException(BadCredentialsException::class);
