1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-08 20:22:42 +01:00

transition partial_due_dates to casts

This commit is contained in:
David Bomba 2024-01-14 16:19:00 +11:00
parent acefad27b6
commit 51903f2f69

View File

@ -86,7 +86,9 @@ class InvoiceTest extends TestCase
$invoice_calc = new InvoiceSum($this->invoice);
$invoice = $invoice_calc->build()->getInvoice()->service()->markSent()->save();
/** @var \App\Models\Invoice $ii */
$ii = $invoice_calc->build()->getInvoice();
$invoice = $ii->service()->markSent()->save();
$this->assertEquals(5, $invoice->partial);
$this->assertNotNull($invoice->partial_due_date);