mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-08-07 10:01:47 -04:00
Fixes for tests
This commit is contained in:
parent
20088f10c4
commit
49601dfa5e
@ -508,7 +508,7 @@ class ReminderTest extends TestCase
|
||||
$fee = collect($this->invoice->line_items)->where('cost', 102)->first();
|
||||
|
||||
$this->assertEquals(102, $fee->cost);
|
||||
$this->assertEquals('Late fee added on '.now()->format('d/M/Y'), $fee->notes);
|
||||
$this->assertEquals('Fee added '.now()->format('d/M/Y'), $fee->notes);
|
||||
|
||||
$this->travelTo(now()->addDay()->startOfDay()->addHour());
|
||||
|
||||
@ -520,7 +520,7 @@ class ReminderTest extends TestCase
|
||||
$fee = collect($this->invoice->line_items)->where('cost', 103)->first();
|
||||
|
||||
$this->assertEquals(103, $fee->cost);
|
||||
$this->assertEquals('Late fee added on '.now()->format('d/M/Y'), $fee->notes);
|
||||
$this->assertEquals('Fee added '.now()->format('d/M/Y'), $fee->notes);
|
||||
|
||||
$this->travelBack();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user