Skip to content

Commit abd17e0

Browse files
committed
Add more field to NoteEvent test json
1 parent 87d8a58 commit abd17e0

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

src/test/resources/org/gitlab4j/api/note-commit-event.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030
"object_attributes": {
3131
"id": 1243,
3232
"note": "This is a commit comment. How does this work?",
33+
"discussion_id": "56e2b4210419aed077d47ca2dc00551c7c4ac882",
34+
"type": "DiscussionNote",
3335
"noteable_type": "Commit",
3436
"author_id": 1,
3537
"created_at": "2015-05-17T18:08:09Z",

src/test/resources/org/gitlab4j/api/note-issue-event.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
"object_attributes": {
3030
"id": 1241,
3131
"note": "Hello world",
32+
"discussion_id": "56e2b4210419aed077d47ca2dc00551c7c4ac882",
33+
"type": "DiscussionNote",
3234
"noteable_type": "Issue",
3335
"author_id": 1,
3436
"created_at": "2015-05-17T17:06:40Z",

src/test/resources/org/gitlab4j/api/note-merge-request-event.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030
"object_attributes": {
3131
"id": 1244,
3232
"note": "This MR needs work.",
33+
"discussion_id": "56e2b4210419aed077d47ca2dc00551c7c4ac882",
34+
"type": "DiscussionNote",
3335
"noteable_type": "MergeRequest",
3436
"author_id": 1,
3537
"created_at": "2015-05-17T18:21:36Z",

src/test/resources/org/gitlab4j/api/note-snippet-event.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030
"object_attributes": {
3131
"id": 1245,
3232
"note": "Is this snippet doing what it's supposed to be doing?",
33+
"discussion_id": "56e2b4210419aed077d47ca2dc00551c7c4ac882",
34+
"type": "DiscussionNote",
3335
"noteable_type": "Snippet",
3436
"author_id": 1,
3537
"created_at": "2015-05-17T18:35:50Z",

0 commit comments

Comments
 (0)