From 1e9c3818c639fa5bef98991cbe5c3900f1a5d76c Mon Sep 17 00:00:00 2001 From: Liam Newman Date: Mon, 1 Jul 2024 11:33:04 -0700 Subject: [PATCH] Apply suggestions from code review --- .../mappings/repos_hub4j-test-org_pixi-2.json | 2 +- .../repos_hub4j-test-org_pixi_code-scanning_alerts-3.json | 2 +- ..._hub4j-test-org_pixi_code-scanning_alerts_1_instances-4.json | 2 +- .../wiremock/testListAlertInstances/mappings/user-1.json | 2 +- .../mappings/repos_hub4j-test-org_pixi-2.json | 2 +- .../repos_hub4j-test-org_pixi_code-scanning_alerts-3.json | 2 +- .../repos_hub4j-test-org_pixi_code-scanning_alerts_1-4.json | 2 +- .../wiremock/testGetCodeScanningAlert/mappings/user-1.json | 2 +- .../mappings/repos_hub4j-test-org_pixi-2.json | 2 +- .../repos_hub4j-test-org_pixi_code-scanning_alerts-3.json | 2 +- .../repos_hub4j-test-org_pixi_code-scanning_alerts-4.json | 2 +- .../wiremock/testListCodeScanningAlerts/mappings/user-1.json | 2 +- 12 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/test/resources/org/kohsuke/github/GHCodeScanningAlertInstanceTest/wiremock/testListAlertInstances/mappings/repos_hub4j-test-org_pixi-2.json b/src/test/resources/org/kohsuke/github/GHCodeScanningAlertInstanceTest/wiremock/testListAlertInstances/mappings/repos_hub4j-test-org_pixi-2.json index a70ce2b8af..d58e375980 100644 --- a/src/test/resources/org/kohsuke/github/GHCodeScanningAlertInstanceTest/wiremock/testListAlertInstances/mappings/repos_hub4j-test-org_pixi-2.json +++ b/src/test/resources/org/kohsuke/github/GHCodeScanningAlertInstanceTest/wiremock/testListAlertInstances/mappings/repos_hub4j-test-org_pixi-2.json @@ -6,7 +6,7 @@ "method": "GET", "headers": { "Accept": { - "equalTo": "application/vnd.github.v3+json" + "equalTo": "application/vnd.github+json" } } }, diff --git a/src/test/resources/org/kohsuke/github/GHCodeScanningAlertInstanceTest/wiremock/testListAlertInstances/mappings/repos_hub4j-test-org_pixi_code-scanning_alerts-3.json b/src/test/resources/org/kohsuke/github/GHCodeScanningAlertInstanceTest/wiremock/testListAlertInstances/mappings/repos_hub4j-test-org_pixi_code-scanning_alerts-3.json index 6cd5c0379c..a987fe7d2b 100644 --- a/src/test/resources/org/kohsuke/github/GHCodeScanningAlertInstanceTest/wiremock/testListAlertInstances/mappings/repos_hub4j-test-org_pixi_code-scanning_alerts-3.json +++ b/src/test/resources/org/kohsuke/github/GHCodeScanningAlertInstanceTest/wiremock/testListAlertInstances/mappings/repos_hub4j-test-org_pixi_code-scanning_alerts-3.json @@ -6,7 +6,7 @@ "method": "GET", "headers": { "Accept": { - "equalTo": "application/vnd.github.v3+json" + "equalTo": "application/vnd.github+json" } } }, diff --git a/src/test/resources/org/kohsuke/github/GHCodeScanningAlertInstanceTest/wiremock/testListAlertInstances/mappings/repos_hub4j-test-org_pixi_code-scanning_alerts_1_instances-4.json b/src/test/resources/org/kohsuke/github/GHCodeScanningAlertInstanceTest/wiremock/testListAlertInstances/mappings/repos_hub4j-test-org_pixi_code-scanning_alerts_1_instances-4.json index d6935cbd0c..a61ea1affc 100644 --- a/src/test/resources/org/kohsuke/github/GHCodeScanningAlertInstanceTest/wiremock/testListAlertInstances/mappings/repos_hub4j-test-org_pixi_code-scanning_alerts_1_instances-4.json +++ b/src/test/resources/org/kohsuke/github/GHCodeScanningAlertInstanceTest/wiremock/testListAlertInstances/mappings/repos_hub4j-test-org_pixi_code-scanning_alerts_1_instances-4.json @@ -6,7 +6,7 @@ "method": "GET", "headers": { "Accept": { - "equalTo": "application/vnd.github.v3+json" + "equalTo": "application/vnd.github+json" } } }, diff --git a/src/test/resources/org/kohsuke/github/GHCodeScanningAlertInstanceTest/wiremock/testListAlertInstances/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHCodeScanningAlertInstanceTest/wiremock/testListAlertInstances/mappings/user-1.json index d14f54e6df..c92ea9eae2 100644 --- a/src/test/resources/org/kohsuke/github/GHCodeScanningAlertInstanceTest/wiremock/testListAlertInstances/mappings/user-1.json +++ b/src/test/resources/org/kohsuke/github/GHCodeScanningAlertInstanceTest/wiremock/testListAlertInstances/mappings/user-1.json @@ -6,7 +6,7 @@ "method": "GET", "headers": { "Accept": { - "equalTo": "application/vnd.github.v3+json" + "equalTo": "application/vnd.github+json" } } }, diff --git a/src/test/resources/org/kohsuke/github/GHCodeScanningAlertTest/wiremock/testGetCodeScanningAlert/mappings/repos_hub4j-test-org_pixi-2.json b/src/test/resources/org/kohsuke/github/GHCodeScanningAlertTest/wiremock/testGetCodeScanningAlert/mappings/repos_hub4j-test-org_pixi-2.json index 33c387a845..8dbce018c8 100644 --- a/src/test/resources/org/kohsuke/github/GHCodeScanningAlertTest/wiremock/testGetCodeScanningAlert/mappings/repos_hub4j-test-org_pixi-2.json +++ b/src/test/resources/org/kohsuke/github/GHCodeScanningAlertTest/wiremock/testGetCodeScanningAlert/mappings/repos_hub4j-test-org_pixi-2.json @@ -6,7 +6,7 @@ "method": "GET", "headers": { "Accept": { - "equalTo": "application/vnd.github.v3+json" + "equalTo": "application/vnd.github+json" } } }, diff --git a/src/test/resources/org/kohsuke/github/GHCodeScanningAlertTest/wiremock/testGetCodeScanningAlert/mappings/repos_hub4j-test-org_pixi_code-scanning_alerts-3.json b/src/test/resources/org/kohsuke/github/GHCodeScanningAlertTest/wiremock/testGetCodeScanningAlert/mappings/repos_hub4j-test-org_pixi_code-scanning_alerts-3.json index c9f93daef8..e68e6d04a4 100644 --- a/src/test/resources/org/kohsuke/github/GHCodeScanningAlertTest/wiremock/testGetCodeScanningAlert/mappings/repos_hub4j-test-org_pixi_code-scanning_alerts-3.json +++ b/src/test/resources/org/kohsuke/github/GHCodeScanningAlertTest/wiremock/testGetCodeScanningAlert/mappings/repos_hub4j-test-org_pixi_code-scanning_alerts-3.json @@ -6,7 +6,7 @@ "method": "GET", "headers": { "Accept": { - "equalTo": "application/vnd.github.v3+json" + "equalTo": "application/vnd.github+json" } } }, diff --git a/src/test/resources/org/kohsuke/github/GHCodeScanningAlertTest/wiremock/testGetCodeScanningAlert/mappings/repos_hub4j-test-org_pixi_code-scanning_alerts_1-4.json b/src/test/resources/org/kohsuke/github/GHCodeScanningAlertTest/wiremock/testGetCodeScanningAlert/mappings/repos_hub4j-test-org_pixi_code-scanning_alerts_1-4.json index bb4b4af04d..838768a084 100644 --- a/src/test/resources/org/kohsuke/github/GHCodeScanningAlertTest/wiremock/testGetCodeScanningAlert/mappings/repos_hub4j-test-org_pixi_code-scanning_alerts_1-4.json +++ b/src/test/resources/org/kohsuke/github/GHCodeScanningAlertTest/wiremock/testGetCodeScanningAlert/mappings/repos_hub4j-test-org_pixi_code-scanning_alerts_1-4.json @@ -6,7 +6,7 @@ "method": "GET", "headers": { "Accept": { - "equalTo": "application/vnd.github.v3+json" + "equalTo": "application/vnd.github+json" } } }, diff --git a/src/test/resources/org/kohsuke/github/GHCodeScanningAlertTest/wiremock/testGetCodeScanningAlert/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHCodeScanningAlertTest/wiremock/testGetCodeScanningAlert/mappings/user-1.json index cc93722811..9244f04176 100644 --- a/src/test/resources/org/kohsuke/github/GHCodeScanningAlertTest/wiremock/testGetCodeScanningAlert/mappings/user-1.json +++ b/src/test/resources/org/kohsuke/github/GHCodeScanningAlertTest/wiremock/testGetCodeScanningAlert/mappings/user-1.json @@ -6,7 +6,7 @@ "method": "GET", "headers": { "Accept": { - "equalTo": "application/vnd.github.v3+json" + "equalTo": "application/vnd.github+json" } } }, diff --git a/src/test/resources/org/kohsuke/github/GHCodeScanningAlertTest/wiremock/testListCodeScanningAlerts/mappings/repos_hub4j-test-org_pixi-2.json b/src/test/resources/org/kohsuke/github/GHCodeScanningAlertTest/wiremock/testListCodeScanningAlerts/mappings/repos_hub4j-test-org_pixi-2.json index 7838acf249..bbce963fe1 100644 --- a/src/test/resources/org/kohsuke/github/GHCodeScanningAlertTest/wiremock/testListCodeScanningAlerts/mappings/repos_hub4j-test-org_pixi-2.json +++ b/src/test/resources/org/kohsuke/github/GHCodeScanningAlertTest/wiremock/testListCodeScanningAlerts/mappings/repos_hub4j-test-org_pixi-2.json @@ -6,7 +6,7 @@ "method": "GET", "headers": { "Accept": { - "equalTo": "application/vnd.github.v3+json" + "equalTo": "application/vnd.github+json" } } }, diff --git a/src/test/resources/org/kohsuke/github/GHCodeScanningAlertTest/wiremock/testListCodeScanningAlerts/mappings/repos_hub4j-test-org_pixi_code-scanning_alerts-3.json b/src/test/resources/org/kohsuke/github/GHCodeScanningAlertTest/wiremock/testListCodeScanningAlerts/mappings/repos_hub4j-test-org_pixi_code-scanning_alerts-3.json index 2462962c3a..84d1bab1e2 100644 --- a/src/test/resources/org/kohsuke/github/GHCodeScanningAlertTest/wiremock/testListCodeScanningAlerts/mappings/repos_hub4j-test-org_pixi_code-scanning_alerts-3.json +++ b/src/test/resources/org/kohsuke/github/GHCodeScanningAlertTest/wiremock/testListCodeScanningAlerts/mappings/repos_hub4j-test-org_pixi_code-scanning_alerts-3.json @@ -6,7 +6,7 @@ "method": "GET", "headers": { "Accept": { - "equalTo": "application/vnd.github.v3+json" + "equalTo": "application/vnd.github+json" } } }, diff --git a/src/test/resources/org/kohsuke/github/GHCodeScanningAlertTest/wiremock/testListCodeScanningAlerts/mappings/repos_hub4j-test-org_pixi_code-scanning_alerts-4.json b/src/test/resources/org/kohsuke/github/GHCodeScanningAlertTest/wiremock/testListCodeScanningAlerts/mappings/repos_hub4j-test-org_pixi_code-scanning_alerts-4.json index 886c3b2b10..b3aa75e76d 100644 --- a/src/test/resources/org/kohsuke/github/GHCodeScanningAlertTest/wiremock/testListCodeScanningAlerts/mappings/repos_hub4j-test-org_pixi_code-scanning_alerts-4.json +++ b/src/test/resources/org/kohsuke/github/GHCodeScanningAlertTest/wiremock/testListCodeScanningAlerts/mappings/repos_hub4j-test-org_pixi_code-scanning_alerts-4.json @@ -6,7 +6,7 @@ "method": "GET", "headers": { "Accept": { - "equalTo": "application/vnd.github.v3+json" + "equalTo": "application/vnd.github+json" } } }, diff --git a/src/test/resources/org/kohsuke/github/GHCodeScanningAlertTest/wiremock/testListCodeScanningAlerts/mappings/user-1.json b/src/test/resources/org/kohsuke/github/GHCodeScanningAlertTest/wiremock/testListCodeScanningAlerts/mappings/user-1.json index db891874df..3f6e64eb5b 100644 --- a/src/test/resources/org/kohsuke/github/GHCodeScanningAlertTest/wiremock/testListCodeScanningAlerts/mappings/user-1.json +++ b/src/test/resources/org/kohsuke/github/GHCodeScanningAlertTest/wiremock/testListCodeScanningAlerts/mappings/user-1.json @@ -6,7 +6,7 @@ "method": "GET", "headers": { "Accept": { - "equalTo": "application/vnd.github.v3+json" + "equalTo": "application/vnd.github+json" } } },