Update tests for latest changes

This commit is contained in:
Matthew Ross 2020-09-05 13:52:26 -04:00
parent b00203ba92
commit dc7fb7ee76
2 changed files with 3 additions and 7 deletions

View File

@ -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;

View File

@ -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);