Code cleanup

This commit is contained in:
James Cole
2023-11-03 05:52:35 +01:00
parent dedc1e8131
commit 101bcc250e
4 changed files with 29 additions and 25 deletions

View File

@@ -38,7 +38,7 @@ class NavigationCustomEndOfPeriodTest extends TestCase
public function testGivenADateAndCustomFrequencyWhenCalculateTheDateThenReturnsTheEndOfMonthSuccessful()
{
$from = Carbon::parse('2023-08-05');
$expected = Carbon::parse('2023-09-04');
$expected = Carbon::parse('2023-09-03');
$navigation = new Navigation();
$period = $navigation->endOfPeriod($from, 'custom');