diff options
Diffstat (limited to 'tests/units/Integration/BitbucketWebhookTest.php')
-rw-r--r-- | tests/units/Integration/BitbucketWebhookTest.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/units/Integration/BitbucketWebhookTest.php b/tests/units/Integration/BitbucketWebhookTest.php index 66d65d37..1a3b005b 100644 --- a/tests/units/Integration/BitbucketWebhookTest.php +++ b/tests/units/Integration/BitbucketWebhookTest.php @@ -248,7 +248,7 @@ class BitbucketWebhookTest extends Base public function testIssueAssignedWithNoPermission() { - $this->container['dispatcher']->addListener(BitbucketWebhook::EVENT_ISSUE_ASSIGNEE_CHANGE, function() {}); + $this->container['dispatcher']->addListener(BitbucketWebhook::EVENT_ISSUE_ASSIGNEE_CHANGE, function () {}); $p = new Project($this->container); $this->assertEquals(1, $p->create(array('name' => 'foobar'))); @@ -272,7 +272,7 @@ class BitbucketWebhookTest extends Base public function testIssueAssignedWithNoUser() { - $this->container['dispatcher']->addListener(BitbucketWebhook::EVENT_ISSUE_ASSIGNEE_CHANGE, function() {}); + $this->container['dispatcher']->addListener(BitbucketWebhook::EVENT_ISSUE_ASSIGNEE_CHANGE, function () {}); $p = new Project($this->container); $this->assertEquals(1, $p->create(array('name' => 'foobar'))); @@ -293,7 +293,7 @@ class BitbucketWebhookTest extends Base public function testIssueAssignedWithNoTask() { - $this->container['dispatcher']->addListener(BitbucketWebhook::EVENT_ISSUE_ASSIGNEE_CHANGE, function() {}); + $this->container['dispatcher']->addListener(BitbucketWebhook::EVENT_ISSUE_ASSIGNEE_CHANGE, function () {}); $p = new Project($this->container); $this->assertEquals(1, $p->create(array('name' => 'foobar'))); |