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->save();
|
||||
|
||||
$this->invoice->setRelation('client', $this->client);
|
||||
$this->invoice->setRelation('company', $this->company);
|
||||
|
||||
$this->invoice->service()->createInvitations()->markSent();
|
||||
|
||||
$data = [
|
||||
'amount' => 50,
|
||||
|
|
|
|||
Loading…
Reference in New Issue