Skip to content

Commit c7f6ba6

Browse files
committed
bugfix for document factory
1 parent bdc02eb commit c7f6ba6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

database/factories/DocumentTypeFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public function definition()
1010
{
1111
return [
1212
'title' => $this->faker->sentence(1),
13-
'slug' => $this->faker->slug(1),
13+
'slug' => $this->faker->unique()->slug(1),
1414
'category' => 'web',
1515
'show_as_table' => false,
1616
'icon' => null,

0 commit comments

Comments
 (0)