Update Bitbucket webhooks to handle issues/commit/comments

This commit is contained in:
Frederic Guillot
2015-06-21 12:19:06 -04:00
parent 98fd34bfe3
commit d7a8160c2b
22 changed files with 1928 additions and 178 deletions

View File

@@ -359,6 +359,7 @@ class GithubWebhookTest extends Base
$data = $event->getAll();
$this->assertEquals(1, $data['project_id']);
$this->assertEquals(3, $data['reference']);
$this->assertEquals('Test Webhook', $data['title']);
$this->assertEquals("plop\n\n[Github Issue](https://github.com/kanboardapp/webhook/issues/3)", $data['description']);
}