Fixes for tests
This commit is contained in:
parent
a183f058d4
commit
0aea5eb7cc
|
|
@ -11,6 +11,7 @@
|
|||
namespace Tests\Feature;
|
||||
|
||||
use App\DataMapper\CompanySettings;
|
||||
use App\Http\Middleware\PasswordProtection;
|
||||
use App\Models\Company;
|
||||
use App\Models\CompanyToken;
|
||||
use App\Utils\Traits\MakesHash;
|
||||
|
|
@ -47,6 +48,8 @@ class CompanyTest extends TestCase
|
|||
|
||||
public function testCompanyList()
|
||||
{
|
||||
$this->withoutMiddleware(PasswordProtection::class);
|
||||
|
||||
$response = $this->withHeaders([
|
||||
'X-API-SECRET' => config('ninja.api_secret'),
|
||||
'X-API-TOKEN' => $this->token,
|
||||
|
|
|
|||
Loading…
Reference in New Issue