Add back tests:

This commit is contained in:
David Bomba 2023-09-26 08:25:14 +10:00
parent 7e65ea8ed2
commit c9917e78ed

View File

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