From b981dc8715b36c83107de4c2868e3410a6faf457 Mon Sep 17 00:00:00 2001 From: Mateja Date: Wed, 7 Oct 2020 18:41:35 +0200 Subject: First commit --- database/factories/UserFactory.php | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 database/factories/UserFactory.php (limited to 'database/factories/UserFactory.php') diff --git a/database/factories/UserFactory.php b/database/factories/UserFactory.php new file mode 100644 index 0000000..bdea1a3 --- /dev/null +++ b/database/factories/UserFactory.php @@ -0,0 +1,33 @@ + $this->faker->name, + 'email' => $this->faker->unique()->safeEmail, + 'email_verified_at' => now(), + 'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password + 'remember_token' => Str::random(10), + ]; + } +} -- cgit v1.2.3