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 = R::dispense('autoaction');
|
||||||
$action->board_id = 1;
|
$action->board_id = 1;
|
||||||
$action->trigger = 1; // Moved to column
|
$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->type = 6; // Clear due date
|
||||||
$action->change_to = 0;
|
$action->change_to = 0;
|
||||||
|
|
||||||
|
@ -193,9 +193,7 @@ describe('ColumnDisplay', () => {
|
|||||||
it('handles drop events', () => {
|
it('handles drop events', () => {
|
||||||
const prev = {
|
const prev = {
|
||||||
data: {},
|
data: {},
|
||||||
element: {
|
id: 'col1'
|
||||||
nativeElement: { id: 'col1' }
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
const evt = {
|
const evt = {
|
||||||
currentIndex: 0,
|
currentIndex: 0,
|
||||||
@ -214,9 +212,7 @@ describe('ColumnDisplay', () => {
|
|||||||
|
|
||||||
evt.previousContainer = {
|
evt.previousContainer = {
|
||||||
data: {},
|
data: {},
|
||||||
element: {
|
id: 'col1'
|
||||||
nativeElement: { id: 'col1' }
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
component.drop(evt as any);
|
component.drop(evt as any);
|
||||||
|
Reference in New Issue
Block a user