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:
parent
b7476a9e7f
commit
7681e32dca
5 changed files with 195 additions and 18 deletions
database/factories/Exports
|
@ -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"}',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue