Skip to content

Commit

Permalink
Regenerate test fixtures
Browse files Browse the repository at this point in the history
Added:
 * charge.disputed
 * subscription.invoice_customer_balance_settings, .next_pending_invoice_item_invoice, .pending_invoice_item_interval
  • Loading branch information
therefromhere committed Nov 15, 2019
1 parent d891fbb commit b5e5dbf
Show file tree
Hide file tree
Showing 8 changed files with 43 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/fixtures/charge_ch_fakefakefakefakefake0001.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"description": "Subscription creation",
"destination": null,
"dispute": null,
"disputed": false,
"failure_code": null,
"failure_message": null,
"fraud_details": {},
Expand Down
10 changes: 10 additions & 0 deletions tests/fixtures/customer_cus_4UbFSo9tl62jqj.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@
"default_tax_rates": [],
"discount": null,
"ended_at": null,
"invoice_customer_balance_settings": {
"consume_applied_balance_on_void": true
},
"items": {
"object": "list",
"data": [
Expand Down Expand Up @@ -185,6 +188,8 @@
"metadata": {
"djstripe_test_fake_id": "sub_fakefakefakefakefake0004"
},
"next_pending_invoice_item_invoice": null,
"pending_invoice_item_interval": null,
"pending_setup_intent": null,
"plan": null,
"quantity": null,
Expand Down Expand Up @@ -217,6 +222,9 @@
"default_tax_rates": [],
"discount": null,
"ended_at": null,
"invoice_customer_balance_settings": {
"consume_applied_balance_on_void": true
},
"items": {
"object": "list",
"data": [
Expand Down Expand Up @@ -262,6 +270,8 @@
"metadata": {
"djstripe_test_fake_id": "sub_fakefakefakefakefake0003"
},
"next_pending_invoice_item_invoice": null,
"pending_invoice_item_interval": null,
"pending_setup_intent": null,
"plan": {
"id": "gold21323",
Expand Down
10 changes: 10 additions & 0 deletions tests/fixtures/customer_cus_6lsBvm5rJ0zyHc.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,9 @@
"default_tax_rates": [],
"discount": null,
"ended_at": null,
"invoice_customer_balance_settings": {
"consume_applied_balance_on_void": true
},
"items": {
"object": "list",
"data": [
Expand Down Expand Up @@ -180,6 +183,8 @@
"metadata": {
"djstripe_test_fake_id": "sub_fakefakefakefakefake0002"
},
"next_pending_invoice_item_invoice": null,
"pending_invoice_item_interval": null,
"pending_setup_intent": null,
"plan": {
"id": "silver41294",
Expand Down Expand Up @@ -233,6 +238,9 @@
"default_tax_rates": [],
"discount": null,
"ended_at": null,
"invoice_customer_balance_settings": {
"consume_applied_balance_on_void": true
},
"items": {
"object": "list",
"data": [
Expand Down Expand Up @@ -278,6 +286,8 @@
"metadata": {
"djstripe_test_fake_id": "sub_fakefakefakefakefake0001"
},
"next_pending_invoice_item_invoice": null,
"pending_invoice_item_interval": null,
"pending_setup_intent": null,
"plan": {
"id": "gold21323",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
"description": "Subscription creation",
"destination": null,
"dispute": null,
"disputed": false,
"failure_code": null,
"failure_message": null,
"fraud_details": {},
Expand Down Expand Up @@ -77,6 +78,7 @@
"funding": "credit",
"installments": null,
"last4": "4242",
"network": "visa",
"three_d_secure": null,
"wallet": null
},
Expand Down
5 changes: 5 additions & 0 deletions tests/fixtures/subscription_sub_fakefakefakefakefake0001.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
"default_tax_rates": [],
"discount": null,
"ended_at": null,
"invoice_customer_balance_settings": {
"consume_applied_balance_on_void": true
},
"items": {
"object": "list",
"data": [
Expand Down Expand Up @@ -64,6 +67,8 @@
"metadata": {
"djstripe_test_fake_id": "sub_fakefakefakefakefake0001"
},
"next_pending_invoice_item_invoice": null,
"pending_invoice_item_interval": null,
"pending_setup_intent": null,
"plan": {
"id": "gold21323",
Expand Down
5 changes: 5 additions & 0 deletions tests/fixtures/subscription_sub_fakefakefakefakefake0002.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
"default_tax_rates": [],
"discount": null,
"ended_at": null,
"invoice_customer_balance_settings": {
"consume_applied_balance_on_void": true
},
"items": {
"object": "list",
"data": [
Expand Down Expand Up @@ -64,6 +67,8 @@
"metadata": {
"djstripe_test_fake_id": "sub_fakefakefakefakefake0002"
},
"next_pending_invoice_item_invoice": null,
"pending_invoice_item_interval": null,
"pending_setup_intent": null,
"plan": {
"id": "silver41294",
Expand Down
5 changes: 5 additions & 0 deletions tests/fixtures/subscription_sub_fakefakefakefakefake0003.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
"default_tax_rates": [],
"discount": null,
"ended_at": null,
"invoice_customer_balance_settings": {
"consume_applied_balance_on_void": true
},
"items": {
"object": "list",
"data": [
Expand Down Expand Up @@ -64,6 +67,8 @@
"metadata": {
"djstripe_test_fake_id": "sub_fakefakefakefakefake0003"
},
"next_pending_invoice_item_invoice": null,
"pending_invoice_item_interval": null,
"pending_setup_intent": null,
"plan": {
"id": "gold21323",
Expand Down
5 changes: 5 additions & 0 deletions tests/fixtures/subscription_sub_fakefakefakefakefake0004.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
"default_tax_rates": [],
"discount": null,
"ended_at": null,
"invoice_customer_balance_settings": {
"consume_applied_balance_on_void": true
},
"items": {
"object": "list",
"data": [
Expand Down Expand Up @@ -96,6 +99,8 @@
"metadata": {
"djstripe_test_fake_id": "sub_fakefakefakefakefake0004"
},
"next_pending_invoice_item_invoice": null,
"pending_invoice_item_interval": null,
"pending_setup_intent": null,
"plan": null,
"quantity": null,
Expand Down

0 comments on commit b5e5dbf

Please sign in to comment.