summaryrefslogtreecommitdiff
path: root/tests/units/EventBuilder/CommentEventBuilderTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/units/EventBuilder/CommentEventBuilderTest.php')
-rw-r--r--tests/units/EventBuilder/CommentEventBuilderTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/units/EventBuilder/CommentEventBuilderTest.php b/tests/units/EventBuilder/CommentEventBuilderTest.php
index a490799e..2f6a90b5 100644
--- a/tests/units/EventBuilder/CommentEventBuilderTest.php
+++ b/tests/units/EventBuilder/CommentEventBuilderTest.php
@@ -13,7 +13,7 @@ class CommentEventBuilderTest extends Base
{
$commentEventBuilder = new CommentEventBuilder($this->container);
$commentEventBuilder->withCommentId(42);
- $this->assertNull($commentEventBuilder->build());
+ $this->assertNull($commentEventBuilder->buildEvent());
}
public function testBuild()
@@ -28,7 +28,7 @@ class CommentEventBuilderTest extends Base
$this->assertEquals(1, $commentModel->create(array('task_id' => 1, 'comment' => 'bla bla', 'user_id' => 1)));
$commentEventBuilder->withCommentId(1);
- $event = $commentEventBuilder->build();
+ $event = $commentEventBuilder->buildEvent();
$this->assertInstanceOf('Kanboard\Event\CommentEvent', $event);
$this->assertNotEmpty($event['comment']);