mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 16:04:32 -04:00
Fixes for php unit
This commit is contained in:
parent
6a7dd0351b
commit
56cbc3f58b
@ -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;
|
||||
|
||||
}
|
||||
|
@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user