Skip to content

Commit

Permalink
Merge branch 'release/1.2.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
iktakahiro committed Dec 4, 2024
2 parents 39e21b0 + 3a1ac02 commit 27bf0b2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on: [push, pull_request]
jobs:
test:
name: Test
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
matrix:
go: ['1.22', '1.23']
Expand Down
2 changes: 1 addition & 1 deletion cancel_reason_value_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func TestNewCancelReason(t *testing.T) {
}{
{"UNSUBSCRIBE", "UNSUBSCRIBE", nil},
{"BILLING_ERROR", "BILLING_ERROR", nil},
{"INVALID", "", errors.New("cancelReason value should be one of the following: UNSUBSCRIBE,BILLING_ERROR,DEVELOPER_INITIATED,PRICE_INCREASE,CUSTOMER_SUPPORT,UNKNOWN, got INVALID")},
{"INVALID", "", errors.New("cancelReason value should be one of the following: UNSUBSCRIBE,BILLING_ERROR,DEVELOPER_INITIATED,PRICE_INCREASE,CUSTOMER_SUPPORT,SUBSCRIPTION_PAUSED,UNKNOWN, got INVALID")},
}

for _, c := range cases {
Expand Down
2 changes: 1 addition & 1 deletion event_type_value_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func TestNewEventType(t *testing.T) {
}{
{"INITIAL_PURCHASE", "INITIAL_PURCHASE", nil},
{"CANCELLATION", "CANCELLATION", nil},
{"INVALID", "", errors.New("eventType value should be one of the following: TEST, INITIAL_PURCHASE, NON_RENEWING_PURCHASE, RENEWAL, PRODUCT_CHANGE, CANCELLATION, UNCANCELLATION, BILLING_ISSUE, SUBSCRIBER_ALIAS, SUBSCRIPTION_PAUSED, TRANSFER, EXPIRATION, got INVALID")},
{"INVALID", "", errors.New("eventType value should be one of the following: TEST, INITIAL_PURCHASE, NON_RENEWING_PURCHASE, RENEWAL, PRODUCT_CHANGE, CANCELLATION, UNCANCELLATION, BILLING_ISSUE, SUBSCRIBER_ALIAS, SUBSCRIPTION_PAUSED, TRANSFER, EXPIRATION, SUBSCRIPTION_EXTENDED, TEMPORARY_ENTITLEMENT_GRANT, got INVALID")},
}

for _, c := range cases {
Expand Down

0 comments on commit 27bf0b2

Please sign in to comment.