diff --git a/tests/Feature/BaseApiTest.php b/tests/Feature/BaseApiTest.php index 77428b065318..8d14ea3b6136 100644 --- a/tests/Feature/BaseApiTest.php +++ b/tests/Feature/BaseApiTest.php @@ -593,7 +593,7 @@ class BaseApiTest extends TestCase 'X-API-SECRET' => config('ninja.api_secret'), 'X-API-TOKEN' => $this->low_token, ])->get('/api/v1/companies/'.$this->company->hashed_id) - ->assertStatus(401); + ->assertStatus(403); $response = $this->withHeaders([ 'X-API-SECRET' => config('ninja.api_secret'),