Skip to content

Commit d6983d4

Browse files
WIP: Fixture for document seeding
1 parent 97d097e commit d6983d4

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

database/factories/MediaFactory.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,6 @@ private function getRandomFixtureImagePath(): string
7171

7272
private function getRandomFixtureDocumentPath(): string
7373
{
74-
return base_path(
75-
sprintf(
76-
'vendor/code16/ozu-client/database/fixtures/documents/%s.pdf',
77-
rand(1, 26)
78-
)
79-
);
74+
return base_path('vendor/code16/ozu-client/database/fixtures/documents/doc.pdf');
8075
}
8176
}

0 commit comments

Comments
 (0)