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

@ -70,9 +70,11 @@ class ImportController extends Controller
]);
}
/**
* Run the import process against an uploaded import ZIP.
*/
public function run(int $id, Request $request)
{
// TODO - Test access/visibility
$import = $this->imports->findVisible($id);
$parent = null;