From a3c73f80d1cb95fd5817a5ea08890c04ccae7ade Mon Sep 17 00:00:00 2001 From: Alexandre Daubois Date: Mon, 20 Jan 2025 16:44:38 +0100 Subject: [PATCH] [SecurityBundle] Make data provider static --- .../SecurityBundle/Tests/Functional/AccessTokenTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Symfony/Bundle/SecurityBundle/Tests/Functional/AccessTokenTest.php b/src/Symfony/Bundle/SecurityBundle/Tests/Functional/AccessTokenTest.php index aab4c4bc9efa4..1cf3db40743bc 100644 --- a/src/Symfony/Bundle/SecurityBundle/Tests/Functional/AccessTokenTest.php +++ b/src/Symfony/Bundle/SecurityBundle/Tests/Functional/AccessTokenTest.php @@ -425,7 +425,7 @@ public function testCasSuccess() $this->assertSame(['message' => 'Welcome @dunglas!'], json_decode($response->getContent(), true)); } - public function validAccessTokens(): array + public static function validAccessTokens(): array { if (!\extension_loaded('openssl')) { return []; @@ -440,8 +440,8 @@ public function validAccessTokens(): array 'sub' => 'e21bf182-1538-406e-8ccb-e25a17aba39f', 'username' => 'dunglas', ]; - $jws = $this->createJws($claims); - $jwe = $this->createJwe($jws); + $jws = self::createJws($claims); + $jwe = self::createJwe($jws); return [ [$jws], pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy