File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/Symfony/Bundle/SecurityBundle/Tests/Functional Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -425,7 +425,7 @@ public function testCasSuccess()
425
425
$ this ->assertSame (['message ' => 'Welcome @dunglas! ' ], json_decode ($ response ->getContent (), true ));
426
426
}
427
427
428
- public function validAccessTokens (): array
428
+ public static function validAccessTokens (): array
429
429
{
430
430
if (!\extension_loaded ('openssl ' )) {
431
431
return [];
@@ -440,8 +440,8 @@ public function validAccessTokens(): array
440
440
'sub ' => 'e21bf182-1538-406e-8ccb-e25a17aba39f ' ,
441
441
'username ' => 'dunglas ' ,
442
442
];
443
- $ jws = $ this -> createJws ($ claims );
444
- $ jwe = $ this -> createJwe ($ jws );
443
+ $ jws = self :: createJws ($ claims );
444
+ $ jwe = self :: createJwe ($ jws );
445
445
446
446
return [
447
447
[$ jws ],
You can’t perform that action at this time.
0 commit comments