diff --git a/internal/stubs/subscriptions.go b/internal/stubs/subscriptions.go index 44d6996..928346f 100644 --- a/internal/stubs/subscriptions.go +++ b/internal/stubs/subscriptions.go @@ -15,6 +15,7 @@ func SubscriptionGetResponse() []byte { "id": "1", "attributes": { "store_id": 1, + "subscription_id": 1, "customer_id": 1, "order_id": 1, "order_item_id": 1, @@ -387,6 +388,7 @@ func SubscriptionCancelResponse() []byte { "id": "1", "attributes": { "store_id": 1, + "subscription_id": 1, "customer_id": 1, "order_id": 1, "order_item_id": 1, diff --git a/subscriptions_service_test.go b/subscriptions_service_test.go index 0b4997c..2b89d19 100644 --- a/subscriptions_service_test.go +++ b/subscriptions_service_test.go @@ -40,6 +40,7 @@ func TestSubscriptionsService_Get(t *testing.T) { ID: "1", Attributes: Subscription{ StoreID: 1, + SubscriptionID: 1, CustomerID: 1, OrderID: 1, OrderItemID: 1, @@ -186,6 +187,7 @@ func TestSubscriptionsService_Cancel(t *testing.T) { ID: "1", Attributes: Subscription{ StoreID: 1, + SubscriptionID: 1, CustomerID: 1, OrderID: 1, OrderItemID: 1,