1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Fixes for tests

This commit is contained in:
David Bomba 2020-08-12 20:12:55 +10:00
parent b113859690
commit 56b29939bb

View File

@ -159,8 +159,10 @@ class RefundTest extends TestCase
$this->invoice->setRelation('client', $this->client);
$this->invoice->setRelation('company', $this->company);
$this->invoice->service()->createInvitations()->markSent();
$this->invoice->service()->createInvitations()->markSent()->save();
$this->assertNotNull($this->invoice->invitations);
$data = [
'amount' => 50,
'client_id' => $client->hashed_id,