mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-29 02:11:12 -06:00
22 lines
454 B
PHP
22 lines
454 B
PHP
<?php
|
|
|
|
$factory->define(
|
|
FireflyIII\User::class, function (Faker\Generator $faker) {
|
|
return [
|
|
'name' => $faker->name,
|
|
'email' => $faker->email,
|
|
'password' => bcrypt(str_random(10)),
|
|
'remember_token' => str_random(10),
|
|
];
|
|
}
|
|
);
|
|
|
|
$factory->define(
|
|
FireflyIII\Models\TransactionType::class, function (Faker\Generator $faker) {
|
|
return [
|
|
'type' => $faker->name,
|
|
];
|
|
}
|
|
);
|
|
|