Skip to content

Commit 4de47ed

Browse files
committed
Fix unit of marketPlan plans
1 parent 600933b commit 4de47ed

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/main/java/org/kohsuke/github/GHMarketplacePriceModel.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
public enum GHMarketplacePriceModel {
1313

1414
/** The free. */
15-
FREE("free"),
15+
FREE("FREE"),
1616
/** The per unit. */
17-
PER_UNIT("per-unit"),
17+
PER_UNIT("PER_UNIT"),
1818
/** The flat rate. */
19-
FLAT_RATE("flat-rate");
19+
FLAT_RATE("FLAT_RATE");
2020

2121
@JsonValue
2222
private final String internalName;

src/test/resources/org/kohsuke/github/GHMarketplacePlanTest/wiremock/listMarketplacePlans/__files/body-marketplace_listing-stubbed-plans-ZDjdu.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"description": "A free CI solution",
99
"monthly_price_in_cents": 0,
1010
"yearly_price_in_cents": 0,
11-
"price_model": "free",
11+
"price_model": "FREE",
1212
"has_free_trial": false,
1313
"state": "published",
1414
"unit_name": null,
@@ -27,7 +27,7 @@
2727
"monthly_price_in_cents": 1099,
2828
"yearly_price_in_cents": 11870,
2929
"has_free_trial": false,
30-
"price_model": "per-unit",
30+
"price_model": "PER_UNIT",
3131
"state": "published",
3232
"unit_name": "seat",
3333
"bullets": [
@@ -45,7 +45,7 @@
4545
"monthly_price_in_cents": 1099,
4646
"yearly_price_in_cents": 11870,
4747
"has_free_trial": false,
48-
"price_model": "flat-rate",
48+
"price_model": "FLAT_RATE",
4949
"state": "published",
5050
"unit_name": null,
5151
"bullets": [

0 commit comments

Comments
 (0)