1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-28 17:02:04 +03:00

ZIP Imports: Added API test cases

This commit is contained in:
Dan Brown
2025-07-18 14:05:32 +01:00
parent d55684531f
commit 73025719a4
7 changed files with 214 additions and 11 deletions

View File

@ -24,6 +24,7 @@ class ImportFactory extends Factory
'path' => 'uploads/files/imports/' . Str::random(10) . '.zip',
'name' => $this->faker->words(3, true),
'type' => 'book',
'size' => rand(1, 1001),
'metadata' => '{"name": "My book"}',
'created_at' => User::factory(),
];