We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf5db28 commit 297fdacCopy full SHA for 297fdac
tests/BooleanAttributeTest.php
@@ -16,7 +16,7 @@ public function it can handle initial values(): void
16
{
17
$model = new TestModel([
18
'accepted_terms_at' => 1,
19
- 'subscribed_to_newsletter_at' => now(),
+ 'subscribed_to_newsletter_at' => Carbon::now(),
20
]);
21
22
$this->assertInstanceOf(CarbonImmutable::class, $model->accepted_terms_at);
0 commit comments