Fixes for tests
This commit is contained in:
parent
bb05c9898f
commit
43d9773fae
|
|
@ -50,6 +50,9 @@ class CompanyTest extends TestCase
|
||||||
{
|
{
|
||||||
$this->withoutMiddleware(PasswordProtection::class);
|
$this->withoutMiddleware(PasswordProtection::class);
|
||||||
|
|
||||||
|
$cc = Company::first();
|
||||||
|
$cc->delete();
|
||||||
|
|
||||||
$response = $this->withHeaders([
|
$response = $this->withHeaders([
|
||||||
'X-API-SECRET' => config('ninja.api_secret'),
|
'X-API-SECRET' => config('ninja.api_secret'),
|
||||||
'X-API-TOKEN' => $this->token,
|
'X-API-TOKEN' => $this->token,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue