Skip to content

Commit

Permalink
fix library factory
Browse files Browse the repository at this point in the history
  • Loading branch information
atmonshi committed Sep 12, 2023
1 parent a5a6fba commit 55dc204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion database/factories/LibraryFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function definition()
'slug' => $this->faker->slug(2),
'title' => $this->faker->word,
'description' => $this->faker->sentence,
'type' => $this->faker->randomElements(SkyPlugin::get()->getLibraryTypes()),
'type' => $this->faker->randomElement(array_keys(SkyPlugin::get()->getLibraryTypes())),
'file_path' => 'https://picsum.photos/200/300',
];
}
Expand Down

0 comments on commit 55dc204

Please sign in to comment.