chore(maint): add psr conflict, ajust seeder defaults
This commit is contained in:
@@ -47,16 +47,39 @@ class UserSeeder extends Seeder
|
||||
$admin = User::create(([
|
||||
'uuid' => 'b741345057274a519144881927be0290', // Ghost
|
||||
'name' => 'Admin',
|
||||
'email' => 'admin@webvokestudio.pt',
|
||||
'email' => 'admin@example.com',
|
||||
'email_verified_at' => now(),
|
||||
'username' => 'admin',
|
||||
'registrationIp' => '0.0.0.0',
|
||||
'currentIp' => '0.0.0.0',
|
||||
'password' => Hash::make('admin'),
|
||||
'password' => Hash::make('password'),
|
||||
]))->assignRole('user', 'reviewer', 'hiringManager', 'admin');
|
||||
|
||||
$staff = User::create(([
|
||||
'uuid' => 'b741345057274a519144881927be0290', // Ghost
|
||||
'name' => 'Admin',
|
||||
'email' => 'staffmember@example.com',
|
||||
'email_verified_at' => now(),
|
||||
'username' => 'admin',
|
||||
'registrationIp' => '0.0.0.0',
|
||||
'currentIp' => '0.0.0.0',
|
||||
'password' => Hash::make('password'),
|
||||
]))->assignRole('user', 'reviewer', 'staff');
|
||||
|
||||
|
||||
$endUser = User::create(([
|
||||
'uuid' => 'b741345057274a519144881927be0290', // Ghost
|
||||
'name' => 'Admin',
|
||||
'email' => 'admin@example.com',
|
||||
'email_verified_at' => now(),
|
||||
'username' => 'admin',
|
||||
'registrationIp' => '0.0.0.0',
|
||||
'currentIp' => '0.0.0.0',
|
||||
'password' => Hash::make('password'),
|
||||
]))->assignRole('user');
|
||||
|
||||
$users = User::factory()
|
||||
->count(1500)
|
||||
->count(60)
|
||||
->create();
|
||||
|
||||
foreach ($users as $user) {
|
||||
|
Reference in New Issue
Block a user