Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit ba65bfa

Browse filesBrowse files
committed
More wiremock file name changes
1 parent 5bcc8ec commit ba65bfa
Copy full SHA for ba65bfa

File tree

Expand file treeCollapse file tree

754 files changed

+321
-3749
lines changed
Filter options

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Dismiss banner
Expand file treeCollapse file tree

754 files changed

+321
-3749
lines changed

‎src/test/java/org/kohsuke/github/extras/authorization/AuthorizationTokenRefreshTest.java

Copy file name to clipboardExpand all lines: src/test/java/org/kohsuke/github/extras/authorization/AuthorizationTokenRefreshTest.java
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ protected WireMockConfiguration getWireMockOptions() {
3838
* the exception
3939
*/
4040
@Test
41-
public void testRetriedRequestGetsNewAuthorizationTokenWhenOldOneExpires() throws IOException {
41+
public void testNewWhenOldOneExpires() throws IOException {
4242
snapshotNotAllowed();
4343
gitHub = getGitHubBuilder().withAuthorizationProvider(new RefreshingAuthorizationProvider())
4444
.withEndpoint(mockGitHub.apiServer().baseUrl())
@@ -55,7 +55,7 @@ public void testRetriedRequestGetsNewAuthorizationTokenWhenOldOneExpires() throw
5555
* the exception
5656
*/
5757
@Test
58-
public void testRetriedRequestDoesNotGetNewAuthorizationTokenWhenOldOneIsStillValid() throws IOException {
58+
public void testNotNewWhenOldOneIsStillValid() throws IOException {
5959
gitHub = getGitHubBuilder().withAuthorizationProvider(() -> "original token")
6060
.withEndpoint(mockGitHub.apiServer().baseUrl())
6161
.withRateLimitHandler(RateLimitHandler.WAIT)

‎src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabels/mappings/user-1.json renamed to ‎src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabels/mappings/1-user.json

Copy file name to clipboardExpand all lines: src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/addLabels/mappings/1-user.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"response": {
1414
"status": 200,
15-
"bodyFileName": "user-1.json",
15+
"bodyFileName": "1-user.json",
1616
"headers": {
1717
"Server": "GitHub.com",
1818
"Date": "Sat, 13 Mar 2021 01:53:57 GMT",
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"response": {
1414
"status": 200,
15-
"bodyFileName": "orgs_hub4j-test-org-2.json",
15+
"bodyFileName": "2-orgs_hub4j-test-org.json",
1616
"headers": {
1717
"Server": "GitHub.com",
1818
"Date": "Sat, 13 Mar 2021 01:53:58 GMT",
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"response": {
1414
"status": 200,
15-
"bodyFileName": "repos_hub4j-test-org_github-api-3.json",
15+
"bodyFileName": "3-r_h_github-api.json",
1616
"headers": {
1717
"Server": "GitHub.com",
1818
"Date": "Sat, 13 Mar 2021 01:53:58 GMT",
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
},
2020
"response": {
2121
"status": 201,
22-
"bodyFileName": "repos_hub4j-test-org_github-api_pulls-4.json",
22+
"bodyFileName": "4-r_h_g_pulls.json",
2323
"headers": {
2424
"Server": "GitHub.com",
2525
"Date": "Sat, 13 Mar 2021 01:53:59 GMT",
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
},
2020
"response": {
2121
"status": 200,
22-
"bodyFileName": "repos_hub4j-test-org_github-api_issues_427_labels-6.json",
22+
"bodyFileName": "6-r_h_g_issues_427_labels.json",
2323
"headers": {
2424
"Server": "GitHub.com",
2525
"Date": "Sat, 13 Mar 2021 01:53:59 GMT",
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"response": {
1414
"status": 200,
15-
"bodyFileName": "repos_hub4j-test-org_github-api-7.json",
15+
"bodyFileName": "7-r_h_github-api.json",
1616
"headers": {
1717
"Server": "GitHub.com",
1818
"Date": "Sat, 13 Mar 2021 01:54:00 GMT",
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"response": {
1414
"status": 200,
15-
"bodyFileName": "repos_hub4j-test-org_github-api_pulls_427-8.json",
15+
"bodyFileName": "8-r_h_g_pulls_427.json",
1616
"headers": {
1717
"Server": "GitHub.com",
1818
"Date": "Sat, 13 Mar 2021 01:54:00 GMT",
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
},
2020
"response": {
2121
"status": 200,
22-
"bodyFileName": "repos_hub4j-test-org_github-api_issues_427_labels-9.json",
22+
"bodyFileName": "9-r_h_g_issues_427_labels.json",
2323
"headers": {
2424
"Server": "GitHub.com",
2525
"Date": "Sat, 13 Mar 2021 01:54:00 GMT",
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"response": {
1414
"status": 200,
15-
"bodyFileName": "user-1.json",
15+
"bodyFileName": "1-user.json",
1616
"headers": {
1717
"Server": "GitHub.com",
1818
"Date": "Wed, 10 Mar 2021 12:52:50 GMT",
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"response": {
1414
"status": 200,
15-
"bodyFileName": "repos_hub4j-test-org_github-api_pulls_417-10.json",
15+
"bodyFileName": "10-r_h_g_pulls_417.json",
1616
"headers": {
1717
"Server": "GitHub.com",
1818
"Date": "Wed, 10 Mar 2021 12:52:54 GMT",
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"response": {
1414
"status": 200,
15-
"bodyFileName": "orgs_hub4j-test-org-2.json",
15+
"bodyFileName": "2-orgs_hub4j-test-org.json",
1616
"headers": {
1717
"Server": "GitHub.com",
1818
"Date": "Wed, 10 Mar 2021 12:52:51 GMT",
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"response": {
1414
"status": 200,
15-
"bodyFileName": "repos_hub4j-test-org_github-api-3.json",
15+
"bodyFileName": "3-r_h_github-api.json",
1616
"headers": {
1717
"Server": "GitHub.com",
1818
"Date": "Wed, 10 Mar 2021 12:52:51 GMT",
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
},
2020
"response": {
2121
"status": 201,
22-
"bodyFileName": "repos_hub4j-test-org_github-api_pulls-4.json",
22+
"bodyFileName": "4-r_h_g_pulls.json",
2323
"headers": {
2424
"Server": "GitHub.com",
2525
"Date": "Wed, 10 Mar 2021 12:52:52 GMT",
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"response": {
1414
"status": 200,
15-
"bodyFileName": "repos_hub4j-test-org_github-api-5.json",
15+
"bodyFileName": "5-r_h_github-api.json",
1616
"headers": {
1717
"Server": "GitHub.com",
1818
"Date": "Wed, 10 Mar 2021 12:52:52 GMT",
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"response": {
1414
"status": 200,
15-
"bodyFileName": "repos_hub4j-test-org_github-api_pulls_417-6.json",
15+
"bodyFileName": "6-r_h_g_pulls_417.json",
1616
"headers": {
1717
"Server": "GitHub.com",
1818
"Date": "Wed, 10 Mar 2021 12:52:53 GMT",
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
},
2020
"response": {
2121
"status": 200,
22-
"bodyFileName": "repos_hub4j-test-org_github-api_issues_417_labels-7.json",
22+
"bodyFileName": "7-r_h_g_issues_417_labels.json",
2323
"headers": {
2424
"Server": "GitHub.com",
2525
"Date": "Wed, 10 Mar 2021 12:52:53 GMT",
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
},
2020
"response": {
2121
"status": 200,
22-
"bodyFileName": "repos_hub4j-test-org_github-api_issues_417_labels-8.json",
22+
"bodyFileName": "8-r_h_g_issues_417_labels.json",
2323
"headers": {
2424
"Server": "GitHub.com",
2525
"Date": "Wed, 10 Mar 2021 12:52:54 GMT",
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"response": {
1414
"status": 200,
15-
"bodyFileName": "repos_hub4j-test-org_github-api-9.json",
15+
"bodyFileName": "9-r_h_github-api.json",
1616
"headers": {
1717
"Server": "GitHub.com",
1818
"Date": "Wed, 10 Mar 2021 12:52:54 GMT",
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"response": {
1414
"status": 200,
15-
"bodyFileName": "user-1.json",
15+
"bodyFileName": "1-user.json",
1616
"headers": {
1717
"Server": "GitHub.com",
1818
"Date": "Tue, 23 Nov 2021 10:10:24 GMT",
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"response": {
1414
"status": 200,
15-
"bodyFileName": "orgs_hub4j-test-org-2.json",
15+
"bodyFileName": "2-orgs_hub4j-test-org.json",
1616
"headers": {
1717
"Date": "Sun, 08 Sep 2019 07:24:29 GMT",
1818
"Content-Type": "application/json; charset=utf-8",
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"response": {
1414
"status": 200,
15-
"bodyFileName": "repos_hub4j-test-org_github-api-3.json",
15+
"bodyFileName": "3-r_h_github-api.json",
1616
"headers": {
1717
"Server": "GitHub.com",
1818
"Date": "Tue, 23 Nov 2021 10:10:26 GMT",
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"response": {
1414
"status": 200,
15-
"bodyFileName": "repos_hub4j-test-org_github-api_pulls_2-4.json",
15+
"bodyFileName": "4-r_h_g_pulls_2.json",
1616
"headers": {
1717
"Server": "GitHub.com",
1818
"Date": "Tue, 23 Nov 2021 10:10:27 GMT",
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"response": {
1414
"status": 200,
15-
"bodyFileName": "user-1.json",
15+
"bodyFileName": "1-user.json",
1616
"headers": {
1717
"Server": "GitHub.com",
1818
"Date": "Tue, 23 Nov 2021 09:07:01 GMT",

‎src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/getUserTest/mappings/orgs_hub4j-test-org-2.json renamed to ‎src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/checkNonExistentReviewer/mappings/2-orgs_hub4j-test-org.json

Copy file name to clipboardExpand all lines: src/test/resources/org/kohsuke/github/GHPullRequestTest/wiremock/checkNonExistentReviewer/mappings/2-orgs_hub4j-test-org.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"response": {
1414
"status": 200,
15-
"bodyFileName": "orgs_hub4j-test-org-2.json",
15+
"bodyFileName": "2-orgs_hub4j-test-org.json",
1616
"headers": {
1717
"Date": "Sun, 08 Sep 2019 07:24:29 GMT",
1818
"Content-Type": "application/json; charset=utf-8",
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"response": {
1414
"status": 200,
15-
"bodyFileName": "repos_hub4j-test-org_github-api-3.json",
15+
"bodyFileName": "3-r_h_github-api.json",
1616
"headers": {
1717
"Server": "GitHub.com",
1818
"Date": "Tue, 23 Nov 2021 09:07:04 GMT",
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"response": {
1414
"status": 200,
15-
"bodyFileName": "repos_hub4j-test-org_github-api_pulls_1-4.json",
15+
"bodyFileName": "4-r_h_g_pulls_1.json",
1616
"headers": {
1717
"Server": "GitHub.com",
1818
"Date": "Tue, 23 Nov 2021 09:07:04 GMT",
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"response": {
1414
"status": 200,
15-
"bodyFileName": "repos_hub4j-test-org_github-api_pulls_1_reviews-5.json",
15+
"bodyFileName": "5-r_h_g_pulls_1_reviews.json",
1616
"headers": {
1717
"Server": "GitHub.com",
1818
"Date": "Tue, 23 Nov 2021 09:07:05 GMT",
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"response": {
1414
"status": 200,
15-
"bodyFileName": "user-1.json",
15+
"bodyFileName": "1-user.json",
1616
"headers": {
1717
"Server": "GitHub.com",
1818
"Date": "Tue, 23 Nov 2021 11:05:43 GMT",
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"response": {
1414
"status": 200,
15-
"bodyFileName": "orgs_hub4j-test-org-2.json",
15+
"bodyFileName": "2-orgs_hub4j-test-org.json",
1616
"headers": {
1717
"Date": "Sun, 08 Sep 2019 07:24:29 GMT",
1818
"Content-Type": "application/json; charset=utf-8",
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"response": {
1414
"status": 200,
15-
"bodyFileName": "repos_hub4j-test-org_github-api-3.json",
15+
"bodyFileName": "3-r_h_github-api.json",
1616
"headers": {
1717
"Server": "GitHub.com",
1818
"Date": "Tue, 23 Nov 2021 11:05:45 GMT",
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"response": {
1414
"status": 200,
15-
"bodyFileName": "repos_hub4j-test-org_github-api_pulls_6-4.json",
15+
"bodyFileName": "4-r_h_g_pulls_6.json",
1616
"headers": {
1717
"Server": "GitHub.com",
1818
"Date": "Tue, 23 Nov 2021 11:05:46 GMT",
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"response": {
1414
"status": 200,
15-
"bodyFileName": "repos_hub4j-test-org_github-api_pulls_6_reviews-5.json",
15+
"bodyFileName": "5-r_h_g_pulls_6_reviews.json",
1616
"headers": {
1717
"Server": "GitHub.com",
1818
"Date": "Tue, 23 Nov 2021 11:05:47 GMT",
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"response": {
1414
"status": 200,
15-
"bodyFileName": "users_sahansera-test2-6.json",
15+
"bodyFileName": "6-users_sahansera-test2.json",
1616
"headers": {
1717
"Server": "GitHub.com",
1818
"Date": "Tue, 23 Nov 2021 11:05:48 GMT",
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"response": {
1414
"status": 200,
15-
"bodyFileName": "user-1.json",
15+
"bodyFileName": "1-user.json",
1616
"headers": {
1717
"Date": "Sun, 08 Sep 2019 07:25:07 GMT",
1818
"Content-Type": "application/json; charset=utf-8",
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"response": {
1414
"status": 200,
15-
"bodyFileName": "repos_hub4j-test-org_github-api-10.json",
15+
"bodyFileName": "10-r_h_github-api.json",
1616
"headers": {
1717
"Date": "Sun, 08 Sep 2019 07:25:10 GMT",
1818
"Content-Type": "application/json; charset=utf-8",
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"response": {
1414
"status": 200,
15-
"bodyFileName": "orgs_hub4j-test-org-2.json",
15+
"bodyFileName": "2-orgs_hub4j-test-org.json",
1616
"headers": {
1717
"Date": "Sun, 08 Sep 2019 07:25:07 GMT",
1818
"Content-Type": "application/json; charset=utf-8",
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"response": {
1414
"status": 200,
15-
"bodyFileName": "repos_hub4j-test-org_github-api-3.json",
15+
"bodyFileName": "3-r_h_github-api.json",
1616
"headers": {
1717
"Date": "Sun, 08 Sep 2019 07:25:08 GMT",
1818
"Content-Type": "application/json; charset=utf-8",
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
},
2020
"response": {
2121
"status": 201,
22-
"bodyFileName": "repos_hub4j-test-org_github-api_pulls-4.json",
22+
"bodyFileName": "4-r_h_g_pulls.json",
2323
"headers": {
2424
"Date": "Sun, 08 Sep 2019 07:25:08 GMT",
2525
"Content-Type": "application/json; charset=utf-8",
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"response": {
1414
"status": 200,
15-
"bodyFileName": "repos_hub4j-test-org_github-api-5.json",
15+
"bodyFileName": "5-r_h_github-api.json",
1616
"headers": {
1717
"Date": "Sun, 08 Sep 2019 07:25:09 GMT",
1818
"Content-Type": "application/json; charset=utf-8",
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"response": {
1414
"status": 200,
15-
"bodyFileName": "repos_hub4j-test-org_github-api_pulls_272-6.json",
15+
"bodyFileName": "6-r_h_g_pulls_272.json",
1616
"headers": {
1717
"Date": "Sun, 08 Sep 2019 07:25:09 GMT",
1818
"Content-Type": "application/json; charset=utf-8",
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
},
2020
"response": {
2121
"status": 200,
22-
"bodyFileName": "repos_hub4j-test-org_github-api_pulls_272-7.json",
22+
"bodyFileName": "7-r_h_g_pulls_272.json",
2323
"headers": {
2424
"Date": "Sun, 08 Sep 2019 07:25:10 GMT",
2525
"Content-Type": "application/json; charset=utf-8",
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
},
1313
"response": {
1414
"status": 200,
15-
"bodyFileName": "repos_hub4j-test-org_github-api-8.json",
15+
"bodyFileName": "8-r_h_github-api.json",
1616
"headers": {
1717
"Date": "Sun, 08 Sep 2019 07:25:10 GMT",
1818
"Content-Type": "application/json; charset=utf-8",

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.