Commit 3a2cfbc2 authored by Graham Campbell's avatar Graham Campbell

Backport the better faker default

parent 2c446984
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
$factory->define(App\User::class, function (Faker\Generator $faker) { $factory->define(App\User::class, function (Faker\Generator $faker) {
return [ return [
'name' => $faker->name, 'name' => $faker->name,
'email' => $faker->email, 'email' => $faker->safeEmail,
'password' => bcrypt(str_random(10)), 'password' => bcrypt(str_random(10)),
'remember_token' => str_random(10), 'remember_token' => str_random(10),
]; ];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment