Update the database contents

This commit is contained in:
Javier Eguiluz
2023-02-13 14:59:22 +01:00
parent de31ae9056
commit 6a35fe459c
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@@ -146,7 +146,7 @@ class AppFixtures extends Fixture
$this->slugger->slug($title)->lower(),
$this->getRandomText(),
$this->getPostContent(),
new \DateTime('now - '.$i.'days'),
(new \DateTime('now - '.$i.'days'))->setTime(random_int(8, 17), random_int(7, 49), random_int(0, 59)),
// Ensure that the first post is written by Jane Doe to simplify tests
$user,
$this->getRandomTags(),