Skip to content

Commit 0654f49

Browse files
committed
extend PR test data with labels
1 parent 0bac887 commit 0654f49

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

src/test/resources/com/spotify/github/v3/prs/pull_request.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,13 @@
349349
"type": "User",
350350
"site_admin": false
351351
},
352+
"labels": [
353+
{
354+
"url": "https://api.github.com/repos/octocat/Hello-World/labels/bug",
355+
"name": "bug",
356+
"color": "f29513"
357+
}
358+
],
352359
"merge_commit_sha": "e5bd3914e2e596debea16f433f57875b5b90bcd6",
353360
"merged": false,
354361
"mergeable": true,

src/test/resources/com/spotify/github/v3/prs/pull_request_item.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,5 +345,12 @@
345345
"received_events_url": "https://api.github.com/users/octocat/received_events",
346346
"type": "User",
347347
"site_admin": false
348-
}
348+
},
349+
"labels": [
350+
{
351+
"url": "https://api.github.com/repos/octocat/Hello-World/labels/bug",
352+
"name": "bug",
353+
"color": "f29513"
354+
}
355+
]
349356
}

0 commit comments

Comments
 (0)