Fixes for php unit

This commit is contained in:
David Bomba 2024-09-16 21:12:47 +10:00
parent 6a7dd0351b
commit 56cbc3f58b
2 changed files with 11 additions and 3 deletions

View File

@ -390,6 +390,14 @@ class Peppol extends AbstractService
$this->p_invoice = $this->e->decode('Peppol', json_encode($this->invoice->e_invoice->Invoice), 'json');
$this->gateway
->mutator
->setInvoice($this->invoice)
->setPeppol($this->p_invoice)
->setClientSettings($this->_client_settings)
->setCompanySettings($this->_company_settings);
return $this;
}

View File

@ -1155,10 +1155,10 @@ class StorecoveTest extends TestCase
$xml = $p->toXml();
nlog($xml);
$identifiers = $p->getStorecoveMeta();
// $identifiers = $p->getStorecoveMeta();
$sc = new \App\Services\EDocument\Gateway\Storecove\Storecove();
$sc->sendDocument($xml, $this->routing_id, $identifiers);
// $sc = new \App\Services\EDocument\Gateway\Storecove\Storecove();
// $sc->sendDocument($xml, $this->routing_id, $identifiers);
}