Password protection on company tests
This commit is contained in:
parent
700fd6bf99
commit
a183f058d4
1 changed files with 1 additions and 0 deletions
|
|
@ -117,6 +117,7 @@ class CompanyTest extends TestCase
|
|||
$response = $this->withHeaders([
|
||||
'X-API-SECRET' => config('ninja.api_secret'),
|
||||
'X-API-TOKEN' => $this->token,
|
||||
'X-API-PASSWORD' => 'ALongAndBriliantPassword',
|
||||
])->delete('/api/v1/companies/'.$this->encodePrimaryKey($company->id))
|
||||
->assertStatus(200);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue