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();