1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Minor fixes for seeds

This commit is contained in:
David Bomba 2023-03-03 13:06:41 +11:00
parent 57c98780cf
commit 18000e8dcd

View File

@ -121,6 +121,8 @@ class RandomDataSeeder extends Seeder
'email' => 'user@example.com', 'email' => 'user@example.com',
]); ]);
$user->first_name = 'U';
$user->last_name = 'ser';
$user->password = Hash::make('password'); $user->password = Hash::make('password');
$user->account_id = $account->id; $user->account_id = $account->id;
$user->email_verified_at = now(); $user->email_verified_at = now();
@ -149,6 +151,8 @@ class RandomDataSeeder extends Seeder
'email' => 'permissions@example.com', 'email' => 'permissions@example.com',
]); ]);
$user->first_name = 'per';
$user->last_name = 'missions';
$user->password = Hash::make('password'); $user->password = Hash::make('password');
$user->account_id = $account->id; $user->account_id = $account->id;
$user->email_verified_at = now(); $user->email_verified_at = now();