Skip to content

Commit

Permalink
Update digipub article factory [PUB-226]
Browse files Browse the repository at this point in the history
  • Loading branch information
zachgarwood committed Sep 4, 2024
1 parent 9e902f9 commit eaf605e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/factories/DigitalPublicationArticleFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public function definition(): array
{
return [
'title' => $this->faker->words(5, true),
'article_type' => $this->faker->randomElement(array_map(
'category' => $this->faker->randomElement(array_map(
fn ($type) => $type->value,
DigitalPublicationArticleCategory::cases()
)),
Expand Down

0 comments on commit eaf605e

Please sign in to comment.