From 7e06077ca8e2dbd83a146e461cf85c714e5e5efb Mon Sep 17 00:00:00 2001 From: adereksisusanto Date: Mon, 13 May 2024 23:22:41 +0700 Subject: [PATCH] undo factory --- database/factories/TranslationFileFactory.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/database/factories/TranslationFileFactory.php b/database/factories/TranslationFileFactory.php index 8c5a211..5309dcd 100644 --- a/database/factories/TranslationFileFactory.php +++ b/database/factories/TranslationFileFactory.php @@ -12,9 +12,9 @@ class TranslationFileFactory extends Factory public function definition(): array { return [ - 'name' => $this->faker->randomElement(['app', 'auth', 'pagination', 'passwords', 'validation', 'en']), - 'extension' => $this->faker->randomElement(['php', 'php', 'php', 'php', 'php', 'json']), - 'is_root' => $this->faker->randomElement([false, false, false, false, false, true]), + 'name' => $this->faker->randomElement(['app', 'auth', 'pagination', 'passwords', 'validation']), + 'extension' => 'php', + 'is_root' => false, ]; }