Stupid faker messes up again.

This commit is contained in:
James Cole 2015-06-07 16:58:49 +02:00
parent 596cd09489
commit e13611f7af

View File

@ -226,9 +226,12 @@ FactoryMuffin::define(
'FireflyIII\User',
[
'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'),
]