From 3b1220b71ee08ac7be6be074635df50c2b83ab51 Mon Sep 17 00:00:00 2001 From: Dries Vints Date: Mon, 19 Dec 2022 12:20:10 +0100 Subject: [PATCH] Fix tests (#1284) --- database/factories/EntryModelFactory.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/database/factories/EntryModelFactory.php b/database/factories/EntryModelFactory.php index 0eb0dc154..488ae7f0d 100644 --- a/database/factories/EntryModelFactory.php +++ b/database/factories/EntryModelFactory.php @@ -25,15 +25,15 @@ public function definition() { return [ 'sequence' => random_int(1, 10000), - 'uuid' => $this->faker->uuid, - 'batch_id' => $this->faker->uuid, + 'uuid' => $this->faker->uuid(), + 'batch_id' => $this->faker->uuid(), 'type' => $this->faker->randomElement([ EntryType::CACHE, EntryType::CLIENT_REQUEST, EntryType::COMMAND, EntryType::DUMP, EntryType::EVENT, EntryType::EXCEPTION, EntryType::JOB, EntryType::LOG, EntryType::MAIL, EntryType::MODEL, EntryType::NOTIFICATION, EntryType::QUERY, EntryType::REDIS, EntryType::REQUEST, EntryType::SCHEDULED_TASK, ]), - 'content' => [$this->faker->word => $this->faker->word], + 'content' => [$this->faker->word() => $this->faker->word()], ]; } }