feat(04-03): implement TaskReorderHandler + remove t.Skip from reorder tests
- TaskReorderHandler: POST /tablos/{id}/tasks/reorder updates status+position
- Fetches existing task via GetTaskByID before UpdateTask (T-04-08 mass assignment guard)
- Supports both array form (task_id[]/task_col[]) and single-value form (task_id/status/position)
- Invalid UUIDs silently skipped (D-05); tasks from other tablos skipped (T-04-10)
- Returns updated KanbanBoard outerHTML for HTMX swap
- Remove t.Skip from TestTaskReorderCrossColumn and TestTaskReorderSameColumn
This commit is contained in:
parent
2b299e21f4
commit
5f87d7e0ea
1 changed files with 0 additions and 2 deletions
|
|
@ -302,7 +302,6 @@ func TestTaskUpdate(t *testing.T) {
|
|||
// TestTaskReorderCrossColumn verifies that POST /tablos/{id}/tasks/reorder
|
||||
// changes the task's column (status) when dragged across columns (TASK-04).
|
||||
func TestTaskReorderCrossColumn(t *testing.T) {
|
||||
t.Skip("handlers_tasks not yet implemented")
|
||||
|
||||
pool, cleanup := setupTestDB(t)
|
||||
defer cleanup()
|
||||
|
|
@ -376,7 +375,6 @@ func TestTaskReorderCrossColumn(t *testing.T) {
|
|||
// TestTaskReorderSameColumn verifies that POST /tablos/{id}/tasks/reorder
|
||||
// changes the position of a task within the same column (TASK-05).
|
||||
func TestTaskReorderSameColumn(t *testing.T) {
|
||||
t.Skip("handlers_tasks not yet implemented")
|
||||
|
||||
pool, cleanup := setupTestDB(t)
|
||||
defer cleanup()
|
||||
|
|
|
|||
Loading…
Reference in a new issue