Luke Jones

intervle - commit 1c2c60d

test: more useful seeder data1c2c60d004191e41eac4e254d8253dc4053289ffLukeJ<luke.jones.2567@gmail.com>2026-03-08T12:12:49Z
diff --git a/database/factories/EventFactory.php b/database/factories/EventFactory.php index 1b0cbd6..1a6775e 100644 --- a/database/factories/EventFactory.php +++ b/database/factories/EventFactory.php @@ -11,9 +11,12 @@ class EventFactory extends Factory public function definition(): array { + $date = $this->faker->date(); + $description = 'An event which occured on the day ' . $date; + return [ - 'date' => $this->faker->date(), - 'description' => $this->faker->sentence(), + 'date' => $date, + 'description' => $description, ]; } }