Skip to content

Commit

Permalink
fix: update error message to include new event types SUBSCRIPTION_EXT…
Browse files Browse the repository at this point in the history
…ENDED and TEMPORARY_ENTITLEMENT_GRANT
  • Loading branch information
iktakahiro committed Dec 4, 2024
1 parent 49813f2 commit 6bcc8b3
Showing 1 changed file with 1 addition and 1 deletion.
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 6bcc8b3

Please sign in to comment.