Skip to content

Commit bb0634f

Browse files
AllanKoderCopilot
andauthored
Update database/factories/ResourceEditsFactory.php
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent da57d89 commit bb0634f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

database/factories/ResourceEditsFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function definition(): array
3030
'image_path' => $imagePath,
3131
'page_url' => $this->faker->url(),
3232
'platforms' => $this->faker->randomElements($platforms, rand(1, 3)),
33-
'difficulties' => $this->faker->randomElement($difficulties),
33+
'difficulties' => $this->faker->randomElements($difficulties, rand(1, 3)),
3434
'pricing' => $this->faker->randomElement($pricings),
3535
'topic_tags' => ['data-structures', 'algorithms'],
3636
'programming_language_tags' => ['python'],

0 commit comments

Comments
 (0)