Update tests for latest changes
This commit is contained in:
parent
b00203ba92
commit
dc7fb7ee76
@ -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;
|
||||
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user