Final prep work to get ready for PHP8
This commit is contained in:
parent
8a7bbdab27
commit
d43530cdd2
7 changed files with 601 additions and 516 deletions
|
@ -28,9 +28,9 @@ class TokenServiceTest extends TestCase
|
|||
$token = $tokenService->getNewToken($data);
|
||||
$valid = $tokenService->validateToken($token);
|
||||
$validData = [
|
||||
'me' => $valid->getClaim('me'),
|
||||
'client_id' => $valid->getClaim('client_id'),
|
||||
'scope' => $valid->getClaim('scope')
|
||||
'me' => $valid->claims()->get('me'),
|
||||
'client_id' => $valid->claims()->get('client_id'),
|
||||
'scope' => $valid->claims()->get('scope')
|
||||
];
|
||||
$this->assertSame($data, $validData);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue