Skip to content

Commit c55b2af

Browse files
stubboGromNaN
andauthored
Use $now insead of a now()
Co-authored-by: Jérôme Tamarelle <[email protected]>
1 parent 2a9d836 commit c55b2af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Casts/StringTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function testString(): void
3131
self::assertEquals("Losing hope, don't mean I'm hopeless And maybe all I need is time", $model->stringContent);
3232

3333
$now = now();
34-
$model->update(['stringContent' => now()]);
34+
$model->update(['stringContent' => $now]);
3535

3636
self::assertIsString($model->stringContent);
3737
self::assertEquals((string) $now, $model->stringContent);

0 commit comments

Comments
 (0)