summaryrefslogtreecommitdiff
path: root/tests/units/fixtures/bitbucket_comment_created.json
diff options
context:
space:
mode:
Diffstat (limited to 'tests/units/fixtures/bitbucket_comment_created.json')
-rw-r--r--tests/units/fixtures/bitbucket_comment_created.json147
1 files changed, 147 insertions, 0 deletions
diff --git a/tests/units/fixtures/bitbucket_comment_created.json b/tests/units/fixtures/bitbucket_comment_created.json
new file mode 100644
index 00000000..66a09bb8
--- /dev/null
+++ b/tests/units/fixtures/bitbucket_comment_created.json
@@ -0,0 +1,147 @@
+{
+ "actor": {
+ "username": "minicoders",
+ "uuid": "{fc59b45a-f68b-4fc1-ad1f-a17d4f17cd2c}",
+ "display_name": "Frederic Guillot",
+ "type": "user",
+ "links": {
+ "avatar": {
+ "href": "https://bitbucket.org/account/minicoders/avatar/32/"
+ },
+ "self": {
+ "href": "https://bitbucket.org/api/2.0/users/minicoders"
+ },
+ "html": {
+ "href": "https://bitbucket.org/minicoders"
+ }
+ }
+ },
+ "repository": {
+ "full_name": "minicoders/test-webhook",
+ "uuid": "{590fd9c4-0812-425e-8d72-ab08b4fd5735}",
+ "type": "repository",
+ "links": {
+ "avatar": {
+ "href": "https://bitbucket.org/minicoders/test-webhook/avatar/16/"
+ },
+ "self": {
+ "href": "https://bitbucket.org/api/2.0/repositories/minicoders/test-webhook"
+ },
+ "html": {
+ "href": "https://bitbucket.org/minicoders/test-webhook"
+ }
+ },
+ "owner": {
+ "username": "minicoders",
+ "uuid": "{fc59b45a-f68b-4fc1-ad1f-a17d4f17cd2c}",
+ "display_name": "Frederic Guillot",
+ "type": "user",
+ "links": {
+ "avatar": {
+ "href": "https://bitbucket.org/account/minicoders/avatar/32/"
+ },
+ "self": {
+ "href": "https://bitbucket.org/api/2.0/users/minicoders"
+ },
+ "html": {
+ "href": "https://bitbucket.org/minicoders"
+ }
+ }
+ },
+ "name": "test-webhook"
+ },
+ "comment": {
+ "content": {
+ "html": "<ol>\n<li>step1</li>\n<li>step2</li>\n</ol>",
+ "raw": "1. step1\n2. step2",
+ "markup": "markdown"
+ },
+ "created_on": "2015-06-21T02:51:40.532529+00:00",
+ "links": {
+ "html": {
+ "href": "https://bitbucket.org/minicoders/test-webhook/issue/1#comment-19176252"
+ },
+ "self": {
+ "href": "https://bitbucket.org/api/2.0/repositories/minicoders/test-webhook/issues/1/comments/19176252"
+ }
+ },
+ "id": 19176252,
+ "user": {
+ "username": "minicoders",
+ "uuid": "{fc59b45a-f68b-4fc1-ad1f-a17d4f17cd2c}",
+ "display_name": "Frederic Guillot",
+ "type": "user",
+ "links": {
+ "avatar": {
+ "href": "https://bitbucket.org/account/minicoders/avatar/32/"
+ },
+ "self": {
+ "href": "https://bitbucket.org/api/2.0/users/minicoders"
+ },
+ "html": {
+ "href": "https://bitbucket.org/minicoders"
+ }
+ }
+ },
+ "updated_on": null
+ },
+ "issue": {
+ "updated_on": "2015-06-21T02:51:40.536516+00:00",
+ "votes": 0,
+ "assignee": null,
+ "links": {
+ "vote": {
+ "href": "https://bitbucket.org/api/2.0/repositories/minicoders/test-webhook/issues/1/vote"
+ },
+ "html": {
+ "href": "https://bitbucket.org/minicoders/test-webhook/issue/1/my-new-issue"
+ },
+ "self": {
+ "href": "https://bitbucket.org/api/2.0/repositories/minicoders/test-webhook/issues/1"
+ },
+ "watch": {
+ "href": "https://bitbucket.org/api/2.0/repositories/minicoders/test-webhook/issues/1/watch"
+ },
+ "comments": {
+ "href": "https://bitbucket.org/api/2.0/repositories/minicoders/test-webhook/issues/1/comments"
+ },
+ "attachments": {
+ "href": "https://bitbucket.org/api/2.0/repositories/minicoders/test-webhook/issues/1/attachments"
+ }
+ },
+ "priority": "major",
+ "kind": "bug",
+ "watches": 1,
+ "edited_on": null,
+ "state": "new",
+ "content": {
+ "html": "<p><strong>test</strong></p>",
+ "raw": "**test**",
+ "markup": "markdown"
+ },
+ "component": null,
+ "milestone": null,
+ "version": null,
+ "id": 1,
+ "created_on": "2015-06-21T02:17:40.990654+00:00",
+ "type": "issue",
+ "reporter": {
+ "username": "minicoders",
+ "uuid": "{fc59b45a-f68b-4fc1-ad1f-a17d4f17cd2c}",
+ "display_name": "Frederic Guillot",
+ "type": "user",
+ "links": {
+ "avatar": {
+ "href": "https://bitbucket.org/account/minicoders/avatar/32/"
+ },
+ "self": {
+ "href": "https://bitbucket.org/api/2.0/users/minicoders"
+ },
+ "html": {
+ "href": "https://bitbucket.org/minicoders"
+ }
+ }
+ },
+ "title": "My new issue"
+ }
+} \ No newline at end of file