test fixes

This commit is contained in:
Dennis Eichhorn 2024-03-17 03:57:41 +00:00
parent fe9ad5ab64
commit c2ebc3920d
2 changed files with 4 additions and 4 deletions

View File

@ -117,15 +117,15 @@
"type": "INT", "type": "INT",
"null": false "null": false
}, },
"checklist_task_template": { "checklist_task_checklist": {
"name": "checklist_task_template", "name": "checklist_task_checklist",
"type": "INT", "type": "INT",
"null": false, "null": false,
"foreignTable": "checklist", "foreignTable": "checklist",
"foreignKey": "checklist_id" "foreignKey": "checklist_id"
}, },
"checklist_task_task": { "checklist_task_task": {
"name": "checklist_template_task_task", "name": "checklist_task_task",
"type": "INT", "type": "INT",
"null": false, "null": false,
"foreignTable": "task", "foreignTable": "task",

View File

@ -53,7 +53,7 @@ final class ChecklistMapper extends DataMapperFactory
'tasks' => [ 'tasks' => [
'mapper' => TaskMapper::class, 'mapper' => TaskMapper::class,
'table' => 'checklist_task', 'table' => 'checklist_task',
'self' => 'checklist_task_template', 'self' => 'checklist_task_checklist',
'external' => 'checklist_task_task', 'external' => 'checklist_task_task',
], ],
]; ];