Fixes for company logo tests

This commit is contained in:
David Bomba 2023-09-14 20:27:21 +10:00
parent 5958e1a073
commit f9cb8409a0

View File

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