mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 01:04:34 -04:00
Fixes for tests
This commit is contained in:
parent
2ee7c429bd
commit
c2a32e48df
@ -156,6 +156,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,
|
||||
'client_id' => $client->hashed_id,
|
||||
|
Loading…
x
Reference in New Issue
Block a user