From 4de47edbeff5677d35d7f568276797e79c444603 Mon Sep 17 00:00:00 2001 From: Benoit Lacelle Date: Sun, 19 Mar 2023 13:00:46 +0400 Subject: [PATCH 1/4] Fix unit of marketPlan plans --- .../java/org/kohsuke/github/GHMarketplacePriceModel.java | 6 +++--- .../body-marketplace_listing-stubbed-plans-ZDjdu.json | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/org/kohsuke/github/GHMarketplacePriceModel.java b/src/main/java/org/kohsuke/github/GHMarketplacePriceModel.java index f8a0c5104d..a41cfc651c 100644 --- a/src/main/java/org/kohsuke/github/GHMarketplacePriceModel.java +++ b/src/main/java/org/kohsuke/github/GHMarketplacePriceModel.java @@ -12,11 +12,11 @@ public enum GHMarketplacePriceModel { /** The free. */ - FREE("free"), + FREE("FREE"), /** The per unit. */ - PER_UNIT("per-unit"), + PER_UNIT("PER_UNIT"), /** The flat rate. */ - FLAT_RATE("flat-rate"); + FLAT_RATE("FLAT_RATE"); @JsonValue private final String internalName; diff --git a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listMarketplacePlans/__files/body-marketplace_listing-stubbed-plans-ZDjdu.json b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listMarketplacePlans/__files/body-marketplace_listing-stubbed-plans-ZDjdu.json index 61647508a2..453cf942e5 100644 --- a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listMarketplacePlans/__files/body-marketplace_listing-stubbed-plans-ZDjdu.json +++ b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listMarketplacePlans/__files/body-marketplace_listing-stubbed-plans-ZDjdu.json @@ -8,7 +8,7 @@ "description": "A free CI solution", "monthly_price_in_cents": 0, "yearly_price_in_cents": 0, - "price_model": "free", + "price_model": "FREE", "has_free_trial": false, "state": "published", "unit_name": null, @@ -27,7 +27,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "per-unit", + "price_model": "PER_UNIT", "state": "published", "unit_name": "seat", "bullets": [ @@ -45,7 +45,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "state": "published", "unit_name": null, "bullets": [ From edef17351baad459aec483092a516d58c8e1a98f Mon Sep 17 00:00:00 2001 From: Benoit Lacelle Date: Sun, 19 Mar 2023 13:06:25 +0400 Subject: [PATCH 2/4] Fix myMarketplacePlans unitTest --- .../body-user-marketplace_purchases-stubbed-eVWvD.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/resources/org/kohsuke/github/GitHubTest/wiremock/getMyMarketplacePurchases/__files/body-user-marketplace_purchases-stubbed-eVWvD.json b/src/test/resources/org/kohsuke/github/GitHubTest/wiremock/getMyMarketplacePurchases/__files/body-user-marketplace_purchases-stubbed-eVWvD.json index a74693a373..70cad368ca 100644 --- a/src/test/resources/org/kohsuke/github/GitHubTest/wiremock/getMyMarketplacePurchases/__files/body-user-marketplace_purchases-stubbed-eVWvD.json +++ b/src/test/resources/org/kohsuke/github/GitHubTest/wiremock/getMyMarketplacePurchases/__files/body-user-marketplace_purchases-stubbed-eVWvD.json @@ -24,7 +24,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "state": "published", "unit_name": null, "bullets": [ @@ -56,7 +56,7 @@ "description": "A free CI solution", "monthly_price_in_cents": 0, "yearly_price_in_cents": 0, - "price_model": "free", + "price_model": "FREE", "has_free_trial": false, "state": "published", "unit_name": null, From 15b9aee11cf5fb4c6b33341882985e0241b13c51 Mon Sep 17 00:00:00 2001 From: Benoit Lacelle Date: Sun, 19 Mar 2023 14:39:03 +0400 Subject: [PATCH 3/4] Fix more mocks --- ...dy-marketplace_listing-stubbed-plans-7-accounts-QgHUA.json | 4 ++-- .../__files/body-marketplace_listing-stubbed-plans-C43G2.json | 2 +- ...dy-marketplace_listing-stubbed-plans-7-accounts-aoRnP.json | 4 ++-- ...dy-marketplace_listing-stubbed-plans-8-accounts-NZw9v.json | 4 ++-- ...dy-marketplace_listing-stubbed-plans-9-accounts-b1MbT.json | 4 ++-- .../__files/body-marketplace_listing-stubbed-plans-uewkE.json | 2 +- ...dy-marketplace_listing-stubbed-plans-7-accounts-cz27N.json | 4 ++-- ...dy-marketplace_listing-stubbed-plans-8-accounts-8T1Pb.json | 4 ++-- ...dy-marketplace_listing-stubbed-plans-9-accounts-VT77w.json | 4 ++-- .../__files/body-marketplace_listing-stubbed-plans-xk1MF.json | 2 +- 10 files changed, 17 insertions(+), 17 deletions(-) diff --git a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccounts/__files/body-marketplace_listing-stubbed-plans-7-accounts-QgHUA.json b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccounts/__files/body-marketplace_listing-stubbed-plans-7-accounts-QgHUA.json index a4601c5f5a..cbd7765d76 100644 --- a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccounts/__files/body-marketplace_listing-stubbed-plans-7-accounts-QgHUA.json +++ b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccounts/__files/body-marketplace_listing-stubbed-plans-7-accounts-QgHUA.json @@ -53,7 +53,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "per-unit", + "price_model": "PER_UNIT", "state": "published", "unit_name": "seat", "bullets": [ @@ -80,7 +80,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "per-unit", + "price_model": "PER_UNIT", "state": "published", "unit_name": "seat", "bullets": [ diff --git a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccounts/__files/body-marketplace_listing-stubbed-plans-C43G2.json b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccounts/__files/body-marketplace_listing-stubbed-plans-C43G2.json index 61647508a2..686358aed7 100644 --- a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccounts/__files/body-marketplace_listing-stubbed-plans-C43G2.json +++ b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccounts/__files/body-marketplace_listing-stubbed-plans-C43G2.json @@ -27,7 +27,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "per-unit", + "price_model": "PER_UNIT", "state": "published", "unit_name": "seat", "bullets": [ diff --git a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-7-accounts-aoRnP.json b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-7-accounts-aoRnP.json index 09a8423762..7057b3fff8 100644 --- a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-7-accounts-aoRnP.json +++ b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-7-accounts-aoRnP.json @@ -53,7 +53,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "per-unit", + "price_model": "PER_UNIT", "state": "published", "unit_name": "seat", "bullets": [ @@ -80,7 +80,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "per-unit", + "price_model": "PER_UNIT", "state": "published", "unit_name": "seat", "bullets": [ diff --git a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-8-accounts-NZw9v.json b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-8-accounts-NZw9v.json index 09a8423762..7057b3fff8 100644 --- a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-8-accounts-NZw9v.json +++ b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-8-accounts-NZw9v.json @@ -53,7 +53,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "per-unit", + "price_model": "PER_UNIT", "state": "published", "unit_name": "seat", "bullets": [ @@ -80,7 +80,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "per-unit", + "price_model": "PER_UNIT", "state": "published", "unit_name": "seat", "bullets": [ diff --git a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-9-accounts-b1MbT.json b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-9-accounts-b1MbT.json index 09a8423762..7057b3fff8 100644 --- a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-9-accounts-b1MbT.json +++ b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-9-accounts-b1MbT.json @@ -53,7 +53,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "per-unit", + "price_model": "PER_UNIT", "state": "published", "unit_name": "seat", "bullets": [ @@ -80,7 +80,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "per-unit", + "price_model": "PER_UNIT", "state": "published", "unit_name": "seat", "bullets": [ diff --git a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-uewkE.json b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-uewkE.json index 61647508a2..686358aed7 100644 --- a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-uewkE.json +++ b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-uewkE.json @@ -27,7 +27,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "per-unit", + "price_model": "PER_UNIT", "state": "published", "unit_name": "seat", "bullets": [ diff --git a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-7-accounts-cz27N.json b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-7-accounts-cz27N.json index 09a8423762..7057b3fff8 100644 --- a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-7-accounts-cz27N.json +++ b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-7-accounts-cz27N.json @@ -53,7 +53,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "per-unit", + "price_model": "PER_UNIT", "state": "published", "unit_name": "seat", "bullets": [ @@ -80,7 +80,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "per-unit", + "price_model": "PER_UNIT", "state": "published", "unit_name": "seat", "bullets": [ diff --git a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-8-accounts-8T1Pb.json b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-8-accounts-8T1Pb.json index 09a8423762..7057b3fff8 100644 --- a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-8-accounts-8T1Pb.json +++ b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-8-accounts-8T1Pb.json @@ -53,7 +53,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "per-unit", + "price_model": "PER_UNIT", "state": "published", "unit_name": "seat", "bullets": [ @@ -80,7 +80,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "per-unit", + "price_model": "PER_UNIT", "state": "published", "unit_name": "seat", "bullets": [ diff --git a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-9-accounts-VT77w.json b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-9-accounts-VT77w.json index 09a8423762..7057b3fff8 100644 --- a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-9-accounts-VT77w.json +++ b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-9-accounts-VT77w.json @@ -53,7 +53,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "per-unit", + "price_model": "PER_UNIT", "state": "published", "unit_name": "seat", "bullets": [ @@ -80,7 +80,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "per-unit", + "price_model": "PER_UNIT", "state": "published", "unit_name": "seat", "bullets": [ diff --git a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-xk1MF.json b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-xk1MF.json index 61647508a2..686358aed7 100644 --- a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-xk1MF.json +++ b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-xk1MF.json @@ -27,7 +27,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "per-unit", + "price_model": "PER_UNIT", "state": "published", "unit_name": "seat", "bullets": [ From cb089b9b79297ea785cceaf9830b866ffdd66f78 Mon Sep 17 00:00:00 2001 From: Benoit Lacelle Date: Sun, 19 Mar 2023 17:25:02 +0400 Subject: [PATCH 4/4] Fix more tests --- ...dy-marketplace_listing-stubbed-plans-7-accounts-QgHUA.json | 2 +- .../__files/body-marketplace_listing-stubbed-plans-C43G2.json | 4 ++-- ...dy-marketplace_listing-stubbed-plans-7-accounts-aoRnP.json | 2 +- ...dy-marketplace_listing-stubbed-plans-8-accounts-NZw9v.json | 2 +- ...dy-marketplace_listing-stubbed-plans-9-accounts-b1MbT.json | 2 +- .../__files/body-marketplace_listing-stubbed-plans-uewkE.json | 4 ++-- ...dy-marketplace_listing-stubbed-plans-7-accounts-cz27N.json | 2 +- ...dy-marketplace_listing-stubbed-plans-8-accounts-8T1Pb.json | 2 +- ...dy-marketplace_listing-stubbed-plans-9-accounts-VT77w.json | 2 +- .../__files/body-marketplace_listing-stubbed-plans-xk1MF.json | 4 ++-- 10 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccounts/__files/body-marketplace_listing-stubbed-plans-7-accounts-QgHUA.json b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccounts/__files/body-marketplace_listing-stubbed-plans-7-accounts-QgHUA.json index cbd7765d76..d4e5ff9ca9 100644 --- a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccounts/__files/body-marketplace_listing-stubbed-plans-7-accounts-QgHUA.json +++ b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccounts/__files/body-marketplace_listing-stubbed-plans-7-accounts-QgHUA.json @@ -24,7 +24,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "state": "published", "unit_name": null, "bullets": [ diff --git a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccounts/__files/body-marketplace_listing-stubbed-plans-C43G2.json b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccounts/__files/body-marketplace_listing-stubbed-plans-C43G2.json index 686358aed7..453cf942e5 100644 --- a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccounts/__files/body-marketplace_listing-stubbed-plans-C43G2.json +++ b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccounts/__files/body-marketplace_listing-stubbed-plans-C43G2.json @@ -8,7 +8,7 @@ "description": "A free CI solution", "monthly_price_in_cents": 0, "yearly_price_in_cents": 0, - "price_model": "free", + "price_model": "FREE", "has_free_trial": false, "state": "published", "unit_name": null, @@ -45,7 +45,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "state": "published", "unit_name": null, "bullets": [ diff --git a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-7-accounts-aoRnP.json b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-7-accounts-aoRnP.json index 7057b3fff8..9892541eac 100644 --- a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-7-accounts-aoRnP.json +++ b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-7-accounts-aoRnP.json @@ -24,7 +24,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "state": "published", "unit_name": null, "bullets": [ diff --git a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-8-accounts-NZw9v.json b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-8-accounts-NZw9v.json index 7057b3fff8..9892541eac 100644 --- a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-8-accounts-NZw9v.json +++ b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-8-accounts-NZw9v.json @@ -24,7 +24,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "state": "published", "unit_name": null, "bullets": [ diff --git a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-9-accounts-b1MbT.json b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-9-accounts-b1MbT.json index 7057b3fff8..9892541eac 100644 --- a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-9-accounts-b1MbT.json +++ b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-9-accounts-b1MbT.json @@ -24,7 +24,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "state": "published", "unit_name": null, "bullets": [ diff --git a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-uewkE.json b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-uewkE.json index 686358aed7..453cf942e5 100644 --- a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-uewkE.json +++ b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithDirection/__files/body-marketplace_listing-stubbed-plans-uewkE.json @@ -8,7 +8,7 @@ "description": "A free CI solution", "monthly_price_in_cents": 0, "yearly_price_in_cents": 0, - "price_model": "free", + "price_model": "FREE", "has_free_trial": false, "state": "published", "unit_name": null, @@ -45,7 +45,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "state": "published", "unit_name": null, "bullets": [ diff --git a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-7-accounts-cz27N.json b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-7-accounts-cz27N.json index 7057b3fff8..9892541eac 100644 --- a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-7-accounts-cz27N.json +++ b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-7-accounts-cz27N.json @@ -24,7 +24,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "state": "published", "unit_name": null, "bullets": [ diff --git a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-8-accounts-8T1Pb.json b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-8-accounts-8T1Pb.json index 7057b3fff8..9892541eac 100644 --- a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-8-accounts-8T1Pb.json +++ b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-8-accounts-8T1Pb.json @@ -24,7 +24,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "state": "published", "unit_name": null, "bullets": [ diff --git a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-9-accounts-VT77w.json b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-9-accounts-VT77w.json index 7057b3fff8..9892541eac 100644 --- a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-9-accounts-VT77w.json +++ b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-9-accounts-VT77w.json @@ -24,7 +24,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "state": "published", "unit_name": null, "bullets": [ diff --git a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-xk1MF.json b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-xk1MF.json index 686358aed7..453cf942e5 100644 --- a/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-xk1MF.json +++ b/src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listAccountsWithSortAndDirection/__files/body-marketplace_listing-stubbed-plans-xk1MF.json @@ -8,7 +8,7 @@ "description": "A free CI solution", "monthly_price_in_cents": 0, "yearly_price_in_cents": 0, - "price_model": "free", + "price_model": "FREE", "has_free_trial": false, "state": "published", "unit_name": null, @@ -45,7 +45,7 @@ "monthly_price_in_cents": 1099, "yearly_price_in_cents": 11870, "has_free_trial": false, - "price_model": "flat-rate", + "price_model": "FLAT_RATE", "state": "published", "unit_name": null, "bullets": [