fix Generate\Form test with missing session init

This commit is contained in:
Clemens Schwaighofer
2023-01-05 11:32:39 +09:00
parent 3d23e5b066
commit 764ca1f098
3 changed files with 7 additions and 1 deletions

View File

@@ -27,6 +27,10 @@ $ECHO_ALL = true;
$LOG_FILE_ID = 'classTest-form';
ob_end_flush();
// start session, needed for Form\Generate
$SET_SESSION_NAME = EDIT_SESSION_NAME;
$session = new CoreLibs\Create\Session($SET_SESSION_NAME);
// define an array for page use
$table_arrays = [];
$table_arrays[\CoreLibs\Get\System::getPageName(1)] = [