Skip to content
This repository was archived by the owner on Oct 20, 2025. It is now read-only.

Commit 4210b4c

Browse files
committed
Fix tests
1 parent 9a3ef90 commit 4210b4c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app/tests/Browser/Form/LibrariesTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,8 @@ public function it_can_provide_a_custom_set_of_php_options_to_flatpickr_through_
155155
->waitForText('FormComponents')
156156
->click('input[name="date1"]')
157157
->waitFor('.flatpickr-calendar.open')
158-
->assertSee(now()->format('F'))
159-
->assertSee(now()->addMonth()->format('F'));
158+
->assertSee(now()->startOfMonth()->format('F'))
159+
->assertSee(now()->startOfMonth()->addMonth()->format('F'));
160160
});
161161
}
162162

@@ -168,8 +168,8 @@ public function it_can_provide_a_custom_set_of_js_options_to_flatpickr_through_t
168168
->waitForText('FormComponents')
169169
->click('input[name="date2"]')
170170
->waitFor('.flatpickr-calendar.open')
171-
->assertSee(now()->format('F'))
172-
->assertSee(now()->addMonth()->format('F'));
171+
->assertSee(now()->startOfMonth()->format('F'))
172+
->assertSee(now()->startOfMonth()->addMonth()->format('F'));
173173
});
174174
}
175175

0 commit comments

Comments
 (0)