From 3a215b448aa15e29a079f5dc6687663dd88e38bd Mon Sep 17 00:00:00 2001 From: David Bomba Date: Mon, 7 Aug 2023 23:20:01 +1000 Subject: [PATCH] Fixes for tests --- tests/Feature/BaseApiTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Feature/BaseApiTest.php b/tests/Feature/BaseApiTest.php index e1b889e3a8..3fac9d506d 100644 --- a/tests/Feature/BaseApiTest.php +++ b/tests/Feature/BaseApiTest.php @@ -571,7 +571,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(403); + ->assertStatus(200); $response = $this->withHeaders([ 'X-API-SECRET' => config('ninja.api_secret'),