diff --git a/src/LaravelFattureInCloudV2.php b/src/LaravelFattureInCloudV2.php index 8c47289..6c76732 100755 --- a/src/LaravelFattureInCloudV2.php +++ b/src/LaravelFattureInCloudV2.php @@ -55,7 +55,7 @@ private function setCompanyId() private function setHeader() { $this->header = Http::withHeaders([ - 'Accept' => 'application/json', + 'Accept' => 'application/json', 'Authorization' => 'Bearer '.$this->getBearer(), ]); } diff --git a/tests/Fake/IssuedDocument/Document.php b/tests/Fake/IssuedDocument/Document.php index 1eed476..1500396 100644 --- a/tests/Fake/IssuedDocument/Document.php +++ b/tests/Fake/IssuedDocument/Document.php @@ -53,7 +53,7 @@ public function getIssuedDocumentFakeDetail( 'is_marked' => $this->value($params, 'is_marked', false), 'created_at' => $this->value($params, 'created_at', date('Y-m-d H:i:s')), 'updated_at' => $this->value($params, 'updated_at', date('Y-m-d H:i:s')), - 'entity' => (new Entity())->getEntityFake($params), + 'entity' => (new Entity())->getEntityFake($params), 'date' => $this->value($params, 'date', date('Y-m-d')), 'number' => $this->value($params, 'number', 1), 'currency' => (new Currency())->getCurrencyFake($params),