diff --git a/test/api/controllers/TasksTest.php b/test/api/controllers/TasksTest.php index db81fc7..1be6fda 100644 --- a/test/api/controllers/TasksTest.php +++ b/test/api/controllers/TasksTest.php @@ -371,7 +371,7 @@ class TasksTest extends PHPUnit\Framework\TestCase { $action = R::dispense('autoaction'); $action->board_id = 1; $action->trigger = 1; // Moved to column - $action->source_id = 1; // Category ID + $action->source_id = 1; // Column ID $action->type = 6; // Clear due date $action->change_to = 0; diff --git a/test/app/board/column/column.component.spec.ts b/test/app/board/column/column.component.spec.ts index 14dcbd0..e7bc869 100644 --- a/test/app/board/column/column.component.spec.ts +++ b/test/app/board/column/column.component.spec.ts @@ -193,9 +193,7 @@ describe('ColumnDisplay', () => { it('handles drop events', () => { const prev = { data: {}, - element: { - nativeElement: { id: 'col1' } - } + id: 'col1' }; const evt = { currentIndex: 0, @@ -214,9 +212,7 @@ describe('ColumnDisplay', () => { evt.previousContainer = { data: {}, - element: { - nativeElement: { id: 'col1' } - } + id: 'col1' }; component.drop(evt as any);