mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-31 19:27:51 -06:00
Stupid faker messes up again.
This commit is contained in:
parent
596cd09489
commit
e13611f7af
@ -226,9 +226,12 @@ FactoryMuffin::define(
|
|||||||
'FireflyIII\User',
|
'FireflyIII\User',
|
||||||
[
|
[
|
||||||
'email' => function () {
|
'email' => function () {
|
||||||
$faker = Faker\Factory::create();
|
$first = RandomString::generateRandomString(20);
|
||||||
|
$second = RandomString::generateRandomString(20);
|
||||||
|
$domain = RandomString::generateRandomString(30);
|
||||||
|
$email = $first . '.' . $second . '@' . $domain . '.com';
|
||||||
|
|
||||||
return $faker->email;
|
return $email;
|
||||||
},
|
},
|
||||||
'password' => bcrypt('james'),
|
'password' => bcrypt('james'),
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user