Fixes for tests

This commit is contained in:
David Bomba 2023-02-01 10:21:09 +11:00
parent 4a968e739c
commit 3e163b8fe6

View File

@ -593,7 +593,7 @@ class BaseApiTest extends TestCase
'X-API-SECRET' => config('ninja.api_secret'),
'X-API-TOKEN' => $this->low_token,
])->get('/api/v1/companies/'.$this->company->hashed_id)
->assertStatus(401);
->assertStatus(403);
$response = $this->withHeaders([
'X-API-SECRET' => config('ninja.api_secret'),