mirror of
https://github.com/nothingworksinc/ticketbeast.git
synced 2026-01-26 03:04:05 +00:00
162 - Updating Factories and a Speed Trick
This commit is contained in:
@@ -19,8 +19,10 @@ $factory->define(App\User::class, function (Faker\Generator $faker) {
|
||||
|
||||
return [
|
||||
'email' => $faker->unique()->safeEmail,
|
||||
'password' => $password ?: $password = bcrypt('secret'),
|
||||
'password' => '$2y$10$OExhSFi9YnXROYfb6TQqAeru74fJ0NDVrDQ5cdKi/3TNpxqm50MMu', // "secret"
|
||||
'remember_token' => str_random(10),
|
||||
'stripe_account_id' => 'test_acct_1234',
|
||||
'stripe_access_token' => 'test_token',
|
||||
];
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user