created post factory
This commit is contained in:
parent
e772c195a6
commit
d10db46888
@ -17,7 +17,10 @@ class PostFactory extends Factory
|
||||
public function definition(): array
|
||||
{
|
||||
return [
|
||||
//
|
||||
"title" => $this->faker->sentence(5),
|
||||
"description" => $this->faker->sentence(20),
|
||||
"image" => $this->faker->uuid() . ".jpg",
|
||||
"user_id" => "1",
|
||||
];
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user