From f9cb8409a00d2704753d669dc633168d18840edb Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 14 Sep 2023 20:27:21 +1000 Subject: [PATCH] Fixes for company logo tests --- tests/Feature/CompanyTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Feature/CompanyTest.php b/tests/Feature/CompanyTest.php index c3be4dfc2694..6cfc427d9271 100644 --- a/tests/Feature/CompanyTest.php +++ b/tests/Feature/CompanyTest.php @@ -55,7 +55,7 @@ class CompanyTest extends TestCase $response = $this->withHeaders([ 'X-API-SECRET' => config('ninja.api_secret'), 'X-API-TOKEN' => $this->token, - ])->postJson("/api/v1/companies/{$this->company->hashed_id}/logo"); + ])->get("/api/v1/companies/{$this->company->hashed_id}/logo"); $response->assertStatus(200); $response->streamedContent();