mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for company logo tests
This commit is contained in:
parent
5958e1a073
commit
f9cb8409a0
@ -55,7 +55,7 @@ class CompanyTest extends TestCase
|
|||||||
$response = $this->withHeaders([
|
$response = $this->withHeaders([
|
||||||
'X-API-SECRET' => config('ninja.api_secret'),
|
'X-API-SECRET' => config('ninja.api_secret'),
|
||||||
'X-API-TOKEN' => $this->token,
|
'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->assertStatus(200);
|
||||||
$response->streamedContent();
|
$response->streamedContent();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user