Skip to content

Commit

Permalink
More wiremock file name changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bitwiseman committed Nov 16, 2023
1 parent 5bcc8ec commit ba65bfa
Show file tree
Hide file tree
Showing 754 changed files with 321 additions and 3,749 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ protected WireMockConfiguration getWireMockOptions() {
* the exception
*/
@Test
public void testRetriedRequestGetsNewAuthorizationTokenWhenOldOneExpires() throws IOException {
public void testNewWhenOldOneExpires() throws IOException {
snapshotNotAllowed();
gitHub = getGitHubBuilder().withAuthorizationProvider(new RefreshingAuthorizationProvider())
.withEndpoint(mockGitHub.apiServer().baseUrl())
Expand All @@ -55,7 +55,7 @@ public void testRetriedRequestGetsNewAuthorizationTokenWhenOldOneExpires() throw
* the exception
*/
@Test
public void testRetriedRequestDoesNotGetNewAuthorizationTokenWhenOldOneIsStillValid() throws IOException {
public void testNotNewWhenOldOneIsStillValid() throws IOException {
gitHub = getGitHubBuilder().withAuthorizationProvider(() -> "original token")
.withEndpoint(mockGitHub.apiServer().baseUrl())
.withRateLimitHandler(RateLimitHandler.WAIT)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"response": {
"status": 200,
"bodyFileName": "user-1.json",
"bodyFileName": "1-user.json",
"headers": {
"Server": "GitHub.com",
"Date": "Sat, 13 Mar 2021 01:53:57 GMT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"response": {
"status": 200,
"bodyFileName": "orgs_hub4j-test-org-2.json",
"bodyFileName": "2-orgs_hub4j-test-org.json",
"headers": {
"Server": "GitHub.com",
"Date": "Sat, 13 Mar 2021 01:53:58 GMT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"response": {
"status": 200,
"bodyFileName": "repos_hub4j-test-org_github-api-3.json",
"bodyFileName": "3-r_h_github-api.json",
"headers": {
"Server": "GitHub.com",
"Date": "Sat, 13 Mar 2021 01:53:58 GMT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"response": {
"status": 201,
"bodyFileName": "repos_hub4j-test-org_github-api_pulls-4.json",
"bodyFileName": "4-r_h_g_pulls.json",
"headers": {
"Server": "GitHub.com",
"Date": "Sat, 13 Mar 2021 01:53:59 GMT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"response": {
"status": 200,
"bodyFileName": "repos_hub4j-test-org_github-api_issues_427_labels-6.json",
"bodyFileName": "6-r_h_g_issues_427_labels.json",
"headers": {
"Server": "GitHub.com",
"Date": "Sat, 13 Mar 2021 01:53:59 GMT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"response": {
"status": 200,
"bodyFileName": "repos_hub4j-test-org_github-api-7.json",
"bodyFileName": "7-r_h_github-api.json",
"headers": {
"Server": "GitHub.com",
"Date": "Sat, 13 Mar 2021 01:54:00 GMT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"response": {
"status": 200,
"bodyFileName": "repos_hub4j-test-org_github-api_pulls_427-8.json",
"bodyFileName": "8-r_h_g_pulls_427.json",
"headers": {
"Server": "GitHub.com",
"Date": "Sat, 13 Mar 2021 01:54:00 GMT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"response": {
"status": 200,
"bodyFileName": "repos_hub4j-test-org_github-api_issues_427_labels-9.json",
"bodyFileName": "9-r_h_g_issues_427_labels.json",
"headers": {
"Server": "GitHub.com",
"Date": "Sat, 13 Mar 2021 01:54:00 GMT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"response": {
"status": 200,
"bodyFileName": "user-1.json",
"bodyFileName": "1-user.json",
"headers": {
"Server": "GitHub.com",
"Date": "Wed, 10 Mar 2021 12:52:50 GMT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"response": {
"status": 200,
"bodyFileName": "repos_hub4j-test-org_github-api_pulls_417-10.json",
"bodyFileName": "10-r_h_g_pulls_417.json",
"headers": {
"Server": "GitHub.com",
"Date": "Wed, 10 Mar 2021 12:52:54 GMT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"response": {
"status": 200,
"bodyFileName": "orgs_hub4j-test-org-2.json",
"bodyFileName": "2-orgs_hub4j-test-org.json",
"headers": {
"Server": "GitHub.com",
"Date": "Wed, 10 Mar 2021 12:52:51 GMT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"response": {
"status": 200,
"bodyFileName": "repos_hub4j-test-org_github-api-3.json",
"bodyFileName": "3-r_h_github-api.json",
"headers": {
"Server": "GitHub.com",
"Date": "Wed, 10 Mar 2021 12:52:51 GMT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"response": {
"status": 201,
"bodyFileName": "repos_hub4j-test-org_github-api_pulls-4.json",
"bodyFileName": "4-r_h_g_pulls.json",
"headers": {
"Server": "GitHub.com",
"Date": "Wed, 10 Mar 2021 12:52:52 GMT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"response": {
"status": 200,
"bodyFileName": "repos_hub4j-test-org_github-api-5.json",
"bodyFileName": "5-r_h_github-api.json",
"headers": {
"Server": "GitHub.com",
"Date": "Wed, 10 Mar 2021 12:52:52 GMT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"response": {
"status": 200,
"bodyFileName": "repos_hub4j-test-org_github-api_pulls_417-6.json",
"bodyFileName": "6-r_h_g_pulls_417.json",
"headers": {
"Server": "GitHub.com",
"Date": "Wed, 10 Mar 2021 12:52:53 GMT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"response": {
"status": 200,
"bodyFileName": "repos_hub4j-test-org_github-api_issues_417_labels-7.json",
"bodyFileName": "7-r_h_g_issues_417_labels.json",
"headers": {
"Server": "GitHub.com",
"Date": "Wed, 10 Mar 2021 12:52:53 GMT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"response": {
"status": 200,
"bodyFileName": "repos_hub4j-test-org_github-api_issues_417_labels-8.json",
"bodyFileName": "8-r_h_g_issues_417_labels.json",
"headers": {
"Server": "GitHub.com",
"Date": "Wed, 10 Mar 2021 12:52:54 GMT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"response": {
"status": 200,
"bodyFileName": "repos_hub4j-test-org_github-api-9.json",
"bodyFileName": "9-r_h_github-api.json",
"headers": {
"Server": "GitHub.com",
"Date": "Wed, 10 Mar 2021 12:52:54 GMT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"response": {
"status": 200,
"bodyFileName": "user-1.json",
"bodyFileName": "1-user.json",
"headers": {
"Server": "GitHub.com",
"Date": "Tue, 23 Nov 2021 10:10:24 GMT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"response": {
"status": 200,
"bodyFileName": "orgs_hub4j-test-org-2.json",
"bodyFileName": "2-orgs_hub4j-test-org.json",
"headers": {
"Date": "Sun, 08 Sep 2019 07:24:29 GMT",
"Content-Type": "application/json; charset=utf-8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"response": {
"status": 200,
"bodyFileName": "repos_hub4j-test-org_github-api-3.json",
"bodyFileName": "3-r_h_github-api.json",
"headers": {
"Server": "GitHub.com",
"Date": "Tue, 23 Nov 2021 10:10:26 GMT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"response": {
"status": 200,
"bodyFileName": "repos_hub4j-test-org_github-api_pulls_2-4.json",
"bodyFileName": "4-r_h_g_pulls_2.json",
"headers": {
"Server": "GitHub.com",
"Date": "Tue, 23 Nov 2021 10:10:27 GMT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"response": {
"status": 200,
"bodyFileName": "user-1.json",
"bodyFileName": "1-user.json",
"headers": {
"Server": "GitHub.com",
"Date": "Tue, 23 Nov 2021 09:07:01 GMT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"response": {
"status": 200,
"bodyFileName": "orgs_hub4j-test-org-2.json",
"bodyFileName": "2-orgs_hub4j-test-org.json",
"headers": {
"Date": "Sun, 08 Sep 2019 07:24:29 GMT",
"Content-Type": "application/json; charset=utf-8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"response": {
"status": 200,
"bodyFileName": "repos_hub4j-test-org_github-api-3.json",
"bodyFileName": "3-r_h_github-api.json",
"headers": {
"Server": "GitHub.com",
"Date": "Tue, 23 Nov 2021 09:07:04 GMT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"response": {
"status": 200,
"bodyFileName": "repos_hub4j-test-org_github-api_pulls_1-4.json",
"bodyFileName": "4-r_h_g_pulls_1.json",
"headers": {
"Server": "GitHub.com",
"Date": "Tue, 23 Nov 2021 09:07:04 GMT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"response": {
"status": 200,
"bodyFileName": "repos_hub4j-test-org_github-api_pulls_1_reviews-5.json",
"bodyFileName": "5-r_h_g_pulls_1_reviews.json",
"headers": {
"Server": "GitHub.com",
"Date": "Tue, 23 Nov 2021 09:07:05 GMT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"response": {
"status": 200,
"bodyFileName": "user-1.json",
"bodyFileName": "1-user.json",
"headers": {
"Server": "GitHub.com",
"Date": "Tue, 23 Nov 2021 11:05:43 GMT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"response": {
"status": 200,
"bodyFileName": "orgs_hub4j-test-org-2.json",
"bodyFileName": "2-orgs_hub4j-test-org.json",
"headers": {
"Date": "Sun, 08 Sep 2019 07:24:29 GMT",
"Content-Type": "application/json; charset=utf-8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"response": {
"status": 200,
"bodyFileName": "repos_hub4j-test-org_github-api-3.json",
"bodyFileName": "3-r_h_github-api.json",
"headers": {
"Server": "GitHub.com",
"Date": "Tue, 23 Nov 2021 11:05:45 GMT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"response": {
"status": 200,
"bodyFileName": "repos_hub4j-test-org_github-api_pulls_6-4.json",
"bodyFileName": "4-r_h_g_pulls_6.json",
"headers": {
"Server": "GitHub.com",
"Date": "Tue, 23 Nov 2021 11:05:46 GMT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"response": {
"status": 200,
"bodyFileName": "repos_hub4j-test-org_github-api_pulls_6_reviews-5.json",
"bodyFileName": "5-r_h_g_pulls_6_reviews.json",
"headers": {
"Server": "GitHub.com",
"Date": "Tue, 23 Nov 2021 11:05:47 GMT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"response": {
"status": 200,
"bodyFileName": "users_sahansera-test2-6.json",
"bodyFileName": "6-users_sahansera-test2.json",
"headers": {
"Server": "GitHub.com",
"Date": "Tue, 23 Nov 2021 11:05:48 GMT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"response": {
"status": 200,
"bodyFileName": "user-1.json",
"bodyFileName": "1-user.json",
"headers": {
"Date": "Sun, 08 Sep 2019 07:25:07 GMT",
"Content-Type": "application/json; charset=utf-8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"response": {
"status": 200,
"bodyFileName": "repos_hub4j-test-org_github-api-10.json",
"bodyFileName": "10-r_h_github-api.json",
"headers": {
"Date": "Sun, 08 Sep 2019 07:25:10 GMT",
"Content-Type": "application/json; charset=utf-8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"response": {
"status": 200,
"bodyFileName": "orgs_hub4j-test-org-2.json",
"bodyFileName": "2-orgs_hub4j-test-org.json",
"headers": {
"Date": "Sun, 08 Sep 2019 07:25:07 GMT",
"Content-Type": "application/json; charset=utf-8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"response": {
"status": 200,
"bodyFileName": "repos_hub4j-test-org_github-api-3.json",
"bodyFileName": "3-r_h_github-api.json",
"headers": {
"Date": "Sun, 08 Sep 2019 07:25:08 GMT",
"Content-Type": "application/json; charset=utf-8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"response": {
"status": 201,
"bodyFileName": "repos_hub4j-test-org_github-api_pulls-4.json",
"bodyFileName": "4-r_h_g_pulls.json",
"headers": {
"Date": "Sun, 08 Sep 2019 07:25:08 GMT",
"Content-Type": "application/json; charset=utf-8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"response": {
"status": 200,
"bodyFileName": "repos_hub4j-test-org_github-api-5.json",
"bodyFileName": "5-r_h_github-api.json",
"headers": {
"Date": "Sun, 08 Sep 2019 07:25:09 GMT",
"Content-Type": "application/json; charset=utf-8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"response": {
"status": 200,
"bodyFileName": "repos_hub4j-test-org_github-api_pulls_272-6.json",
"bodyFileName": "6-r_h_g_pulls_272.json",
"headers": {
"Date": "Sun, 08 Sep 2019 07:25:09 GMT",
"Content-Type": "application/json; charset=utf-8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"response": {
"status": 200,
"bodyFileName": "repos_hub4j-test-org_github-api_pulls_272-7.json",
"bodyFileName": "7-r_h_g_pulls_272.json",
"headers": {
"Date": "Sun, 08 Sep 2019 07:25:10 GMT",
"Content-Type": "application/json; charset=utf-8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
},
"response": {
"status": 200,
"bodyFileName": "repos_hub4j-test-org_github-api-8.json",
"bodyFileName": "8-r_h_github-api.json",
"headers": {
"Date": "Sun, 08 Sep 2019 07:25:10 GMT",
"Content-Type": "application/json; charset=utf-8",
Expand Down
Loading

0 comments on commit ba65bfa

Please sign in to comment.