diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-07-23 14:50:59 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-07-23 14:50:59 -0400 |
commit | a823cc1d08535539f850711c0b9edb5b648f1960 (patch) | |
tree | 0988d0fd6dba3fe304efcf3fadc0b6f0f715fa67 /tests/units/Action/TaskAssignCategoryLinkTest.php | |
parent | b6119e7dee84869a619dedccd9c80df4422a4f5b (diff) |
NotificationModel refactoring
Diffstat (limited to 'tests/units/Action/TaskAssignCategoryLinkTest.php')
-rw-r--r-- | tests/units/Action/TaskAssignCategoryLinkTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/units/Action/TaskAssignCategoryLinkTest.php b/tests/units/Action/TaskAssignCategoryLinkTest.php index b9d7e9d9..1576f81b 100644 --- a/tests/units/Action/TaskAssignCategoryLinkTest.php +++ b/tests/units/Action/TaskAssignCategoryLinkTest.php @@ -33,7 +33,7 @@ class TaskAssignCategoryLinkTest extends Base $event = TaskLinkEventBuilder::getInstance($this->container) ->withTaskLinkId(1) - ->build(); + ->buildEvent(); $this->assertTrue($action->execute($event, TaskLinkModel::EVENT_CREATE_UPDATE)); @@ -62,7 +62,7 @@ class TaskAssignCategoryLinkTest extends Base $event = TaskLinkEventBuilder::getInstance($this->container) ->withTaskLinkId(1) - ->build(); + ->buildEvent(); $this->assertFalse($action->execute($event, TaskLinkModel::EVENT_CREATE_UPDATE)); @@ -91,7 +91,7 @@ class TaskAssignCategoryLinkTest extends Base $event = TaskLinkEventBuilder::getInstance($this->container) ->withTaskLinkId(1) - ->build(); + ->buildEvent(); $this->assertFalse($action->execute($event, TaskLinkModel::EVENT_CREATE_UPDATE)); |