Skip to content

Commit 297fdac

Browse files
Fix test
1 parent cf5db28 commit 297fdac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/BooleanAttributeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public function it can handle initial values(): void
1616
{
1717
$model = new TestModel([
1818
'accepted_terms_at' => 1,
19-
'subscribed_to_newsletter_at' => now(),
19+
'subscribed_to_newsletter_at' => Carbon::now(),
2020
]);
2121

2222
$this->assertInstanceOf(CarbonImmutable::class, $model->accepted_terms_at);

0 commit comments

Comments
 (0)