0
0
Fork 0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-04-30 22:50:05 +00:00

ZIP Imports: Added high level import run tests

This commit is contained in:
Dan Brown 2024-11-16 13:57:41 +00:00
parent b7476a9e7f
commit 7681e32dca
No known key found for this signature in database
GPG key ID: 46D9F943C24A2EF9
5 changed files with 195 additions and 18 deletions
database/factories/Exports

View file

@ -21,7 +21,7 @@ class ImportFactory extends Factory
public function definition(): array
{
return [
'path' => 'uploads/imports/' . Str::random(10) . '.zip',
'path' => 'uploads/files/imports/' . Str::random(10) . '.zip',
'name' => $this->faker->words(3, true),
'type' => 'book',
'metadata' => '{"name": "My book"}',