Skip to content

Commit 2e78dc5

Browse files
authored
Merge pull request hub4j#323 from jglick/bad-json
Fix syntactically malformed test JSON
2 parents 0731f63 + c5009ab commit 2e78dc5

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

src/test/resources/org/kohsuke/github/GHEventPayloadTest/label.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,7 @@
6565
"issues_url": "https://api.github.com/repos/baxterandthehackers/public-repo/issues{/number}",
6666
"pulls_url": "https://api.github.com/repos/baxterandthehackers/public-repo/pulls{/number}",
6767
"milestones_url": "https://api.github.com/repos/baxterandthehackers/public-repo/milestones{/number}",
68-
"notifications_url": "https://api.github.com/repos/baxterandthehackers/public-repo/notifications{?since,all,
69-
participating}",
68+
"notifications_url": "https://api.github.com/repos/baxterandthehackers/public-repo/notifications{?since,all,participating}",
7069
"labels_url": "https://api.github.com/repos/baxterandthehackers/public-repo/labels{/name}",
7170
"releases_url": "https://api.github.com/repos/baxterandthehackers/public-repo/releases{/id}",
7271
"deployments_url": "https://api.github.com/repos/baxterandthehackers/public-repo/deployments",

src/test/resources/org/kohsuke/github/GHEventPayloadTest/milestone.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
"action": "created",
33
"milestone": {
44
"url": "https://api.github.com/repos/baxterandthehackers/public-repo/milestones/3",
5-
"html_url": "https://github.com/baxterandthehackers/public-repo/milestones/Test%20milestone%20creation%20webhook
6-
%20from%20command%20line2",
5+
"html_url": "https://github.com/baxterandthehackers/public-repo/milestones/Test%20milestone%20creation%20webhook%20from%20command%20line2",
76
"labels_url": "https://api.github.com/repos/baxterandthehackers/public-repo/milestones/3/labels",
87
"id": 2055681,
98
"number": 3,
@@ -96,8 +95,7 @@
9695
"issues_url": "https://api.github.com/repos/baxterandthehackers/public-repo/issues{/number}",
9796
"pulls_url": "https://api.github.com/repos/baxterandthehackers/public-repo/pulls{/number}",
9897
"milestones_url": "https://api.github.com/repos/baxterandthehackers/public-repo/milestones{/number}",
99-
"notifications_url": "https://api.github.com/repos/baxterandthehackers/public-repo/notifications{?since,all,
100-
participating}",
98+
"notifications_url": "https://api.github.com/repos/baxterandthehackers/public-repo/notifications{?since,all,participating}",
10199
"labels_url": "https://api.github.com/repos/baxterandthehackers/public-repo/labels{/name}",
102100
"releases_url": "https://api.github.com/repos/baxterandthehackers/public-repo/releases{/id}",
103101
"deployments_url": "https://api.github.com/repos/baxterandthehackers/public-repo/deployments",

0 commit comments

Comments
 (0)