mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Add back tests:
This commit is contained in:
parent
7e65ea8ed2
commit
c9917e78ed
@ -579,12 +579,11 @@ class BaseApiTest extends TestCase
|
|||||||
])->get('/api/v1/companies/'.$this->company->hashed_id)
|
])->get('/api/v1/companies/'.$this->company->hashed_id)
|
||||||
->assertStatus(200);
|
->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([
|
$response->assertStatus(403);
|
||||||
// 'X-API-SECRET' => config('ninja.api_secret'),
|
|
||||||
// 'X-API-TOKEN' => $this->low_token,
|
|
||||||
// ])->get('/api/v1/client_gateway_tokens');
|
|
||||||
|
|
||||||
// $response->assertStatus(403);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user