Fixes for tests

This commit is contained in:
David Bomba 2024-09-23 06:40:03 +10:00
parent 20088f10c4
commit 49601dfa5e

View File

@ -508,7 +508,7 @@ class ReminderTest extends TestCase
$fee = collect($this->invoice->line_items)->where('cost', 102)->first(); $fee = collect($this->invoice->line_items)->where('cost', 102)->first();
$this->assertEquals(102, $fee->cost); $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()); $this->travelTo(now()->addDay()->startOfDay()->addHour());
@ -520,7 +520,7 @@ class ReminderTest extends TestCase
$fee = collect($this->invoice->line_items)->where('cost', 103)->first(); $fee = collect($this->invoice->line_items)->where('cost', 103)->first();
$this->assertEquals(103, $fee->cost); $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(); $this->travelBack();