Upgrade to Laravel 13
This commit is contained in:
parent
e8e2bff5e4
commit
9f012b01e4
117 changed files with 1878 additions and 2215 deletions
|
|
@ -28,7 +28,7 @@ class TokenServiceTest extends TestCase
|
|||
];
|
||||
$token = $tokenService->getNewToken($data);
|
||||
|
||||
$response = $this->get('/api/post', ['HTTP_Authorization' => 'Bearer ' . $token]);
|
||||
$response = $this->get('/api/post', ['HTTP_Authorization' => 'Bearer '.$token]);
|
||||
|
||||
$response->assertJson([
|
||||
'response' => 'token',
|
||||
|
|
@ -60,7 +60,7 @@ class TokenServiceTest extends TestCase
|
|||
->getToken($config->signer(), InMemory::plainText(random_bytes(32)))
|
||||
->toString();
|
||||
|
||||
$response = $this->get('/api/post', ['HTTP_Authorization' => 'Bearer ' . $token]);
|
||||
$response = $this->get('/api/post', ['HTTP_Authorization' => 'Bearer '.$token]);
|
||||
|
||||
$response->assertJson([
|
||||
'response' => 'error',
|
||||
|
|
|
|||
Loading…
Reference in a new issue