diff --git a/composer.json b/composer.json index 77996d3fcc91..958fa7e31aec 100644 --- a/composer.json +++ b/composer.json @@ -145,4 +145,4 @@ }, "minimum-stability": "dev", "prefer-stable": true -} +} \ No newline at end of file diff --git a/tests/Feature/CompanyTest.php b/tests/Feature/CompanyTest.php index f427e88ef2fc..af604cbb67ad 100644 --- a/tests/Feature/CompanyTest.php +++ b/tests/Feature/CompanyTest.php @@ -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,