From c2ebc3920d9c2391d6e57278e59b8469951ffbdb Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 17 Mar 2024 03:57:41 +0000 Subject: [PATCH] test fixes --- Admin/Install/db.json | 6 +++--- Models/ChecklistMapper.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Admin/Install/db.json b/Admin/Install/db.json index 46a6ba9..6a4aa4f 100644 --- a/Admin/Install/db.json +++ b/Admin/Install/db.json @@ -117,15 +117,15 @@ "type": "INT", "null": false }, - "checklist_task_template": { - "name": "checklist_task_template", + "checklist_task_checklist": { + "name": "checklist_task_checklist", "type": "INT", "null": false, "foreignTable": "checklist", "foreignKey": "checklist_id" }, "checklist_task_task": { - "name": "checklist_template_task_task", + "name": "checklist_task_task", "type": "INT", "null": false, "foreignTable": "task", diff --git a/Models/ChecklistMapper.php b/Models/ChecklistMapper.php index 6516ac1..a4d8c36 100644 --- a/Models/ChecklistMapper.php +++ b/Models/ChecklistMapper.php @@ -53,7 +53,7 @@ final class ChecklistMapper extends DataMapperFactory 'tasks' => [ 'mapper' => TaskMapper::class, 'table' => 'checklist_task', - 'self' => 'checklist_task_template', + 'self' => 'checklist_task_checklist', 'external' => 'checklist_task_task', ], ];