|
@@ -1,5 +1,6 @@
|
|
<?php
|
|
<?php
|
|
|
|
|
|
|
|
+use App\User;
|
|
use Faker\Generator as Faker;
|
|
use Faker\Generator as Faker;
|
|
|
|
|
|
/*
|
|
/*
|
|
@@ -13,7 +14,7 @@ use Faker\Generator as Faker;
|
|
|
|
|
|
|
|
*/
|
|
*/
|
|
|
|
|
|
-$factory->define(App\User::class, function (Faker $faker) {
|
|
|
|
|
|
+$factory->define(User::class, function (Faker $faker) {
|
|
return [
|
|
return [
|
|
'name' => $faker->name,
|
|
'name' => $faker->name,
|
|
'email' => $faker->unique()->safeEmail,
|
|
'email' => $faker->unique()->safeEmail,
|