mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -04:00
Fixes for tests
This commit is contained in:
parent
2ee7c429bd
commit
c2a32e48df
@ -155,6 +155,11 @@ class RefundTest extends TestCase
|
|||||||
|
|
||||||
$this->invoice = $this->invoice_calc->getInvoice();
|
$this->invoice = $this->invoice_calc->getInvoice();
|
||||||
$this->invoice->save();
|
$this->invoice->save();
|
||||||
|
|
||||||
|
$this->invoice->setRelation('client', $this->client);
|
||||||
|
$this->invoice->setRelation('company', $this->company);
|
||||||
|
|
||||||
|
$this->invoice->service()->createInvitations()->markSent();
|
||||||
|
|
||||||
$data = [
|
$data = [
|
||||||
'amount' => 50,
|
'amount' => 50,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user