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:
parent
acefad27b6
commit
51903f2f69
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user