diff options
Diffstat (limited to 'tests/units')
-rw-r--r-- | tests/units/TaskTest.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/units/TaskTest.php b/tests/units/TaskTest.php index 739214fc..98553428 100644 --- a/tests/units/TaskTest.php +++ b/tests/units/TaskTest.php @@ -648,5 +648,9 @@ class TaskTest extends Base // We change the column and the position of our task $this->assertTrue($t->movePosition(1, 1, 1, 1)); $this->assertTrue($this->registry->shared('event')->isEventTriggered(Task::EVENT_MOVE_COLUMN)); + + // We change the assignee + $this->assertTrue($t->update(array('owner_id' => 1, 'id' => 1))); + $this->assertTrue($this->registry->shared('event')->isEventTriggered(Task::EVENT_ASSIGNEE_CHANGE)); } } |