Skip to content

Commit

Permalink
Fix change cassettes
Browse files Browse the repository at this point in the history
  • Loading branch information
TakteS committed Jun 15, 2017
1 parent 0d94671 commit a88ac47
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions fixture/vcr_cassettes/invoices_test/change.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
"method": "post",
"options": [],
"request_body": "",
"url": "https://api.stripe.com/v1/invoices/in_1AUrqpCM35SG8uZj83blvtOz"
"url": "https://api.stripe.com/v1/invoices/in_1AUsboCM35SG8uZj09M0BwVg"
},
"response": {
"body": "{\n \"id\": \"in_1AUrqpCM35SG8uZj83blvtOz\",\n \"object\": \"invoice\",\n \"amount_due\": 10,\n \"application_fee\": null,\n \"attempt_count\": 0,\n \"attempted\": false,\n \"charge\": null,\n \"closed\": true,\n \"currency\": \"usd\",\n \"customer\": \"cus_AqYy00Ft8aG97e\",\n \"date\": 1497509587,\n \"description\": null,\n \"discount\": null,\n \"ending_balance\": null,\n \"forgiven\": false,\n \"lines\": {\n \"object\": \"list\",\n \"data\": [\n {\n \"id\": \"ii_1AUrqoCM35SG8uZjipKwnZg9\",\n \"object\": \"line_item\",\n \"amount\": 10,\n \"currency\": \"usd\",\n \"description\": null,\n \"discountable\": true,\n \"livemode\": false,\n \"metadata\": {},\n \"period\": {\n \"start\": 1497509586,\n \"end\": 1497509586\n },\n \"plan\": null,\n \"proration\": false,\n \"quantity\": null,\n \"subscription\": \"sub_AqYybhVnWfWPlD\",\n \"type\": \"invoiceitem\"\n }\n ],\n \"has_more\": false,\n \"total_count\": 1,\n \"url\": \"/v1/invoices/in_1AUrqpCM35SG8uZj83blvtOz/lines\"\n },\n \"livemode\": false,\n \"metadata\": {\n \"app_order_id\": \"ABC1234\",\n \"app_attr1\": \"xyz1\"\n },\n \"next_payment_attempt\": null,\n \"paid\": false,\n \"period_end\": 1497509587,\n \"period_start\": 1497509585,\n \"receipt_number\": null,\n \"starting_balance\": 0,\n \"statement_descriptor\": null,\n \"subscription\": \"sub_AqYybhVnWfWPlD\",\n \"subtotal\": 10,\n \"tax\": null,\n \"tax_percent\": null,\n \"total\": 10,\n \"webhooks_delivered_at\": 1497509587\n}\n",
"body": "{\n \"id\": \"in_1AUsboCM35SG8uZj09M0BwVg\",\n \"object\": \"invoice\",\n \"amount_due\": 10,\n \"application_fee\": null,\n \"attempt_count\": 0,\n \"attempted\": false,\n \"charge\": null,\n \"closed\": true,\n \"currency\": \"usd\",\n \"customer\": \"cus_AqZlS5LzmayTex\",\n \"date\": 1497512500,\n \"description\": null,\n \"discount\": null,\n \"ending_balance\": null,\n \"forgiven\": false,\n \"lines\": {\n \"object\": \"list\",\n \"data\": [\n {\n \"id\": \"ii_1AUsboCM35SG8uZjacp2SmnG\",\n \"object\": \"line_item\",\n \"amount\": 10,\n \"currency\": \"usd\",\n \"description\": null,\n \"discountable\": true,\n \"livemode\": false,\n \"metadata\": {},\n \"period\": {\n \"start\": 1497512500,\n \"end\": 1497512500\n },\n \"plan\": null,\n \"proration\": false,\n \"quantity\": null,\n \"subscription\": \"sub_AqZlDLZv9yG7of\",\n \"type\": \"invoiceitem\"\n }\n ],\n \"has_more\": false,\n \"total_count\": 1,\n \"url\": \"/v1/invoices/in_1AUsboCM35SG8uZj09M0BwVg/lines\"\n },\n \"livemode\": false,\n \"metadata\": {\n \"app_order_id\": \"ABC1234\",\n \"app_attr1\": \"xyz1\"\n },\n \"next_payment_attempt\": null,\n \"paid\": false,\n \"period_end\": 1497512500,\n \"period_start\": 1497512499,\n \"receipt_number\": null,\n \"starting_balance\": 0,\n \"statement_descriptor\": null,\n \"subscription\": \"sub_AqZlDLZv9yG7of\",\n \"subtotal\": 10,\n \"tax\": null,\n \"tax_percent\": null,\n \"total\": 10,\n \"webhooks_delivered_at\": 1497512500\n}\n",
"headers": {
"Server": "nginx",
"Date": "Thu, 15 Jun 2017 06:53:15 GMT",
"Date": "Thu, 15 Jun 2017 08:02:55 GMT",
"Content-Type": "application/json",
"Content-Length": "1457",
"Connection": "keep-alive",
Expand All @@ -25,8 +25,8 @@
"Access-Control-Allow-Origin": "*",
"Access-Control-Max-Age": "300",
"Cache-Control": "no-cache, no-store",
"Request-Id": "req_AqYyPfxYtiSo6D",
"Stripe-Version": "2017-04-06",
"Request-Id": "req_Aqa6p9CX8bQ8tl",
"Stripe-Version": "2017-06-05",
"Strict-Transport-Security": "max-age=31556926; includeSubDomains"
},
"status_code": 200,
Expand Down
10 changes: 5 additions & 5 deletions fixture/vcr_cassettes/invoices_test/change_with_key.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
"method": "post",
"options": [],
"request_body": "",
"url": "https://api.stripe.com/v1/invoices/in_1AUrqpCM35SG8uZj83blvtOz"
"url": "https://api.stripe.com/v1/invoices/in_1AUsboCM35SG8uZj09M0BwVg"
},
"response": {
"body": "{\n \"id\": \"in_1AUrqpCM35SG8uZj83blvtOz\",\n \"object\": \"invoice\",\n \"amount_due\": 10,\n \"application_fee\": null,\n \"attempt_count\": 0,\n \"attempted\": false,\n \"charge\": null,\n \"closed\": true,\n \"currency\": \"usd\",\n \"customer\": \"cus_AqYy00Ft8aG97e\",\n \"date\": 1497509587,\n \"description\": \"Some description\",\n \"discount\": null,\n \"ending_balance\": null,\n \"forgiven\": false,\n \"lines\": {\n \"object\": \"list\",\n \"data\": [\n {\n \"id\": \"ii_1AUrqoCM35SG8uZjipKwnZg9\",\n \"object\": \"line_item\",\n \"amount\": 10,\n \"currency\": \"usd\",\n \"description\": null,\n \"discountable\": true,\n \"livemode\": false,\n \"metadata\": {},\n \"period\": {\n \"start\": 1497509586,\n \"end\": 1497509586\n },\n \"plan\": null,\n \"proration\": false,\n \"quantity\": null,\n \"subscription\": \"sub_AqYybhVnWfWPlD\",\n \"type\": \"invoiceitem\"\n }\n ],\n \"has_more\": false,\n \"total_count\": 1,\n \"url\": \"/v1/invoices/in_1AUrqpCM35SG8uZj83blvtOz/lines\"\n },\n \"livemode\": false,\n \"metadata\": {\n \"app_order_id\": \"ABC1234\",\n \"app_attr1\": \"xyz1\"\n },\n \"next_payment_attempt\": null,\n \"paid\": false,\n \"period_end\": 1497509587,\n \"period_start\": 1497509585,\n \"receipt_number\": null,\n \"starting_balance\": 0,\n \"statement_descriptor\": null,\n \"subscription\": \"sub_AqYybhVnWfWPlD\",\n \"subtotal\": 10,\n \"tax\": null,\n \"tax_percent\": null,\n \"total\": 10,\n \"webhooks_delivered_at\": 1497509587\n}\n",
"body": "{\n \"id\": \"in_1AUsboCM35SG8uZj09M0BwVg\",\n \"object\": \"invoice\",\n \"amount_due\": 10,\n \"application_fee\": null,\n \"attempt_count\": 0,\n \"attempted\": false,\n \"charge\": null,\n \"closed\": true,\n \"currency\": \"usd\",\n \"customer\": \"cus_AqZlS5LzmayTex\",\n \"date\": 1497512500,\n \"description\": \"Some description\",\n \"discount\": null,\n \"ending_balance\": null,\n \"forgiven\": false,\n \"lines\": {\n \"object\": \"list\",\n \"data\": [\n {\n \"id\": \"ii_1AUsboCM35SG8uZjacp2SmnG\",\n \"object\": \"line_item\",\n \"amount\": 10,\n \"currency\": \"usd\",\n \"description\": null,\n \"discountable\": true,\n \"livemode\": false,\n \"metadata\": {},\n \"period\": {\n \"start\": 1497512500,\n \"end\": 1497512500\n },\n \"plan\": null,\n \"proration\": false,\n \"quantity\": null,\n \"subscription\": \"sub_AqZlDLZv9yG7of\",\n \"type\": \"invoiceitem\"\n }\n ],\n \"has_more\": false,\n \"total_count\": 1,\n \"url\": \"/v1/invoices/in_1AUsboCM35SG8uZj09M0BwVg/lines\"\n },\n \"livemode\": false,\n \"metadata\": {\n \"app_order_id\": \"ABC1234\",\n \"app_attr1\": \"xyz1\"\n },\n \"next_payment_attempt\": null,\n \"paid\": false,\n \"period_end\": 1497512500,\n \"period_start\": 1497512499,\n \"receipt_number\": null,\n \"starting_balance\": 0,\n \"statement_descriptor\": null,\n \"subscription\": \"sub_AqZlDLZv9yG7of\",\n \"subtotal\": 10,\n \"tax\": null,\n \"tax_percent\": null,\n \"total\": 10,\n \"webhooks_delivered_at\": 1497512500\n}\n",
"headers": {
"Server": "nginx",
"Date": "Thu, 15 Jun 2017 06:53:16 GMT",
"Date": "Thu, 15 Jun 2017 08:02:56 GMT",
"Content-Type": "application/json",
"Content-Length": "1471",
"Connection": "keep-alive",
Expand All @@ -25,8 +25,8 @@
"Access-Control-Allow-Origin": "*",
"Access-Control-Max-Age": "300",
"Cache-Control": "no-cache, no-store",
"Request-Id": "req_AqYyb9e1K06aof",
"Stripe-Version": "2017-04-06",
"Request-Id": "req_Aqa6VZDYtUn8se",
"Stripe-Version": "2017-06-05",
"Strict-Transport-Security": "max-age=31556926; includeSubDomains"
},
"status_code": 200,
Expand Down

0 comments on commit a88ac47

Please sign in to comment.