Fixes for tests

This commit is contained in:
David Bomba 2020-08-12 16:48:09 +10:00
parent 2ee7c429bd
commit c2a32e48df

View File

@ -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,