Skip to content

Commit 7136afc

Browse files
committed
Update all WireMock data files
1 parent ec17c1d commit 7136afc

File tree

324 files changed

+39419
-484
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

324 files changed

+39419
-484
lines changed

.github/workflows/maven.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ jobs:
1616
- name: Maven Download all dependencies
1717
run: mvn -B org.apache.maven.plugins:maven-dependency-plugin:3.1.1:go-offline
1818
- name: Maven Build
19-
run: mvn -B package --file pom.xml -Dtest=GistTest,UserTest
19+
run: mvn -B package --file pom.xml -Dtest=GistTest,PullRequestTest,UserTest

src/test/resources/org/kohsuke/github/GistTest/api/__files/body-gists-990dad0dda5791da76e95207ed6a6f91-delete.txt

Whitespace-only changes.

src/test/resources/org/kohsuke/github/GistTest/api/__files/body-gists-a9b6f50c8f4e0db38cd8e12cd6e0c738-delete.txt

Whitespace-only changes.

src/test/resources/org/kohsuke/github/GistTest/api/__files/body-gists-bf0058f87bb7c773123bb1763a6bb9b3-delete.txt

Whitespace-only changes.

src/test/resources/org/kohsuke/github/GistTest/api/mappings/mapping-gists-9903708-star-O6pK0.json

-37
This file was deleted.

src/test/resources/org/kohsuke/github/GistTest/api/mappings/mapping-gists-9903708-star-RRWgS.json

-39
This file was deleted.

src/test/resources/org/kohsuke/github/GistTest/api/mappings/mapping-gists-9903708-star-WbOVn.json

-42
This file was deleted.

src/test/resources/org/kohsuke/github/GistTest/api/mappings/mapping-gists-9903708-star-unstarred.json

-35
This file was deleted.

src/test/resources/org/kohsuke/github/GistTest/api/mappings/mapping-gists-990dad0dda5791da76e95207ed6a6f91-delete.json

-34
This file was deleted.

src/test/resources/org/kohsuke/github/GistTest/api/mappings/mapping-gists-a9b6f50c8f4e0db38cd8e12cd6e0c738-delete.json

-34
This file was deleted.

src/test/resources/org/kohsuke/github/GistTest/api/mappings/mapping-gists-bf0058f87bb7c773123bb1763a6bb9b3-delete.json

-34
This file was deleted.

src/test/resources/org/kohsuke/github/GistTest/api/__files/body-gists-9903708-gistFile.json renamed to src/test/resources/org/kohsuke/github/GistTest/wiremock/gistFile/__files/gists_9903708-c3067d66-2bb0-4af7-b7d4-98032571c5d0.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
},
2121
"public": true,
2222
"created_at": "2014-03-31T22:22:50Z",
23-
"updated_at": "2019-08-08T03:57:56Z",
23+
"updated_at": "2019-09-08T06:46:29Z",
2424
"description": "",
2525
"comments": 0,
2626
"user": null,

src/test/resources/org/kohsuke/github/UserTest/api/__files/body-user-1bLFY.json renamed to src/test/resources/org/kohsuke/github/GistTest/wiremock/gistFile/__files/user-9226d6ed-a52d-4b08-9402-f1cfc2dbf0e1.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
"hireable": null,
2626
"bio": "https://twitter.com/bitwiseman",
2727
"public_repos": 166,
28-
"public_gists": 5,
29-
"followers": 132,
28+
"public_gists": 4,
29+
"followers": 133,
3030
"following": 9,
3131
"created_at": "2012-07-11T20:38:33Z",
3232
"updated_at": "2019-06-03T17:47:20Z"
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"id": "c3067d66-2bb0-4af7-b7d4-98032571c5d0",
3+
"name": "gists_9903708",
4+
"request": {
5+
"url": "/gists/9903708",
6+
"method": "GET"
7+
},
8+
"response": {
9+
"status": 200,
10+
"bodyFileName": "gists_9903708-c3067d66-2bb0-4af7-b7d4-98032571c5d0.json",
11+
"headers": {
12+
"Date": "Sun, 08 Sep 2019 06:47:43 GMT",
13+
"Content-Type": "application/json; charset=utf-8",
14+
"Server": "GitHub.com",
15+
"Status": "200 OK",
16+
"X-RateLimit-Limit": "5000",
17+
"X-RateLimit-Remaining": "4797",
18+
"X-RateLimit-Reset": "1567926046",
19+
"Cache-Control": "private, max-age=60, s-maxage=60",
20+
"Vary": [
21+
"Accept, Authorization, Cookie, X-GitHub-OTP",
22+
"Accept-Encoding"
23+
],
24+
"ETag": "W/\"b6d45b73ecf4a7c47e2af95f762390c6\"",
25+
"Last-Modified": "Sun, 08 Sep 2019 06:46:29 GMT",
26+
"X-OAuth-Scopes": "gist, notifications, repo",
27+
"X-Accepted-OAuth-Scopes": "",
28+
"X-GitHub-Media-Type": "unknown, github.v3",
29+
"Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type",
30+
"Access-Control-Allow-Origin": "*",
31+
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
32+
"X-Frame-Options": "deny",
33+
"X-Content-Type-Options": "nosniff",
34+
"X-XSS-Protection": "1; mode=block",
35+
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
36+
"Content-Security-Policy": "default-src 'none'",
37+
"X-GitHub-Request-Id": "FD51:4FAD:500EFE:5EB1D0:5D74A40F"
38+
}
39+
},
40+
"uuid": "c3067d66-2bb0-4af7-b7d4-98032571c5d0",
41+
"persistent": true,
42+
"insertionIndex": 2
43+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"id": "9226d6ed-a52d-4b08-9402-f1cfc2dbf0e1",
3+
"name": "user",
4+
"request": {
5+
"url": "/user",
6+
"method": "GET"
7+
},
8+
"response": {
9+
"status": 200,
10+
"bodyFileName": "user-9226d6ed-a52d-4b08-9402-f1cfc2dbf0e1.json",
11+
"headers": {
12+
"Date": "Sun, 08 Sep 2019 06:47:43 GMT",
13+
"Content-Type": "application/json; charset=utf-8",
14+
"Server": "GitHub.com",
15+
"Status": "200 OK",
16+
"X-RateLimit-Limit": "5000",
17+
"X-RateLimit-Remaining": "4798",
18+
"X-RateLimit-Reset": "1567926046",
19+
"Cache-Control": "private, max-age=60, s-maxage=60",
20+
"Vary": [
21+
"Accept, Authorization, Cookie, X-GitHub-OTP",
22+
"Accept-Encoding"
23+
],
24+
"ETag": "W/\"3ba1de3523043df743651bd23efc7def\"",
25+
"Last-Modified": "Mon, 03 Jun 2019 17:47:20 GMT",
26+
"X-OAuth-Scopes": "gist, notifications, repo",
27+
"X-Accepted-OAuth-Scopes": "",
28+
"X-GitHub-Media-Type": "unknown, github.v3",
29+
"Access-Control-Expose-Headers": "ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type",
30+
"Access-Control-Allow-Origin": "*",
31+
"Strict-Transport-Security": "max-age=31536000; includeSubdomains; preload",
32+
"X-Frame-Options": "deny",
33+
"X-Content-Type-Options": "nosniff",
34+
"X-XSS-Protection": "1; mode=block",
35+
"Referrer-Policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
36+
"Content-Security-Policy": "default-src 'none'",
37+
"X-GitHub-Request-Id": "FD51:4FAD:500EFB:5EB1CD:5D74A40F"
38+
}
39+
},
40+
"uuid": "9226d6ed-a52d-4b08-9402-f1cfc2dbf0e1",
41+
"persistent": true,
42+
"insertionIndex": 1
43+
}

0 commit comments

Comments
 (0)