Final prep work to get ready for PHP8

This commit is contained in:
Jonny Barnes 2020-12-31 13:34:55 +00:00
parent 8a7bbdab27
commit d43530cdd2
7 changed files with 601 additions and 516 deletions

View file

@ -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);
}