summaryrefslogtreecommitdiff
path: root/tests/units/ActionTaskDuplicateAnotherProjectTest.php
diff options
context:
space:
mode:
authorFrédéric Guillot <fred@kanboard.net>2014-11-23 18:23:20 -0500
committerFrédéric Guillot <fred@kanboard.net>2014-11-23 18:23:20 -0500
commit81df22de238bc36d810b95ad67a4426db095fbab (patch)
tree53231a3d46b6b7c54eaec515016247984cf7a4e4 /tests/units/ActionTaskDuplicateAnotherProjectTest.php
parentf684602ebedc0adc4a329693ba524ad46d5cd8b0 (diff)
Create TaskDuplication model
Diffstat (limited to 'tests/units/ActionTaskDuplicateAnotherProjectTest.php')
-rw-r--r--tests/units/ActionTaskDuplicateAnotherProjectTest.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/units/ActionTaskDuplicateAnotherProjectTest.php b/tests/units/ActionTaskDuplicateAnotherProjectTest.php
index bbfa928f..d7f9d2c3 100644
--- a/tests/units/ActionTaskDuplicateAnotherProjectTest.php
+++ b/tests/units/ActionTaskDuplicateAnotherProjectTest.php
@@ -77,6 +77,7 @@ class ActionTaskDuplicateAnotherProject extends Base
// Our event should be executed because we define a different project
$action->setParam('column_id', 2);
$action->setParam('project_id', 2);
+ $this->assertTrue($action->hasRequiredCondition($event));
$this->assertTrue($action->execute($event));
// Our task should be assigned to the project 1