-
Notifications
You must be signed in to change notification settings - Fork 288
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
- Laravel Version: ^7.0
- PHP Version: 7.4.
- Blueprint Version: ^1.13
- Platform: Windows
Description:
When i use model data type like smallInteger
or year
, in factory the faker not generate all attributes.
draft.yaml:
models:
File:
month: smallInteger
year: year
path: string
FileFactory.php
$factory->define(File::class, function (Faker $faker) {
return [
'month' => $faker->,
'year' => $faker->,
'path' => $faker->word,
];
});
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working