1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-30 04:23:11 +03: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
5 changed files with 195 additions and 18 deletions

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"}',