updates for tests

This commit is contained in:
David Bomba 2025-08-05 12:19:22 +10:00
parent 4ceb15773e
commit 3b9962fb22
1 changed files with 2 additions and 2 deletions

View File

@ -646,7 +646,7 @@ $response = $this->withHeaders([
$this->assertNotNull($next_schedule); $this->assertNotNull($next_schedule);
$this->assertEquals($next_schedule['date'], now()->format($this->company->date_format())); $this->assertEquals(Carbon::parse($next_schedule['date'])->format($this->company->date_format()), now()->format($this->company->date_format()));
$this->travelTo(now()->addDays(1)); $this->travelTo(now()->addDays(1));
@ -656,7 +656,7 @@ $response = $this->withHeaders([
$this->assertNotNull($next_schedule); $this->assertNotNull($next_schedule);
$this->assertEquals($next_schedule['date'], now()->format($this->company->date_format())); $this->assertEquals(Carbon::parse($next_schedule['date'])->format($this->company->date_format()), now()->format($this->company->date_format()));
} }