From 3e163b8fe602ec16167db5847cabf6f77c67658c Mon Sep 17 00:00:00 2001 From: David Bomba Date: Wed, 1 Feb 2023 10:21:09 +1100 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 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'),