Skip to content

Commit 6a35fe4

Browse files
committed
Update the database contents
1 parent de31ae9 commit 6a35fe4

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

data/database.sqlite

-20 KB
Binary file not shown.

src/DataFixtures/AppFixtures.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ private function getPostData(): array
146146
$this->slugger->slug($title)->lower(),
147147
$this->getRandomText(),
148148
$this->getPostContent(),
149-
new \DateTime('now - '.$i.'days'),
149+
(new \DateTime('now - '.$i.'days'))->setTime(random_int(8, 17), random_int(7, 49), random_int(0, 59)),
150150
// Ensure that the first post is written by Jane Doe to simplify tests
151151
$user,
152152
$this->getRandomTags(),

0 commit comments

Comments
 (0)