Check marking before create user

This commit is contained in:
Too
2018-06-20 15:43:04 +08:00
parent b1843c0b9b
commit a2dad37758
3 changed files with 31 additions and 1 deletions
+10
View File
@@ -0,0 +1,10 @@
<?php
use Faker\Generator as Faker;
$factory->define(App\Marking::class, function (Faker $faker) {
return [
'email' => $faker->unique()->safeEmail,
'marking' => str_random(10)
];
});