diff --git a/test/cassettes/Insurance-Service_1251316388/refunds-a-standalone-insurance_797329606/recording.har b/test/cassettes/Insurance-Service_1251316388/refunds-a-standalone-insurance_797329606/recording.har index 75d284f1c..bff2079b1 100644 --- a/test/cassettes/Insurance-Service_1251316388/refunds-a-standalone-insurance_797329606/recording.har +++ b/test/cassettes/Insurance-Service_1251316388/refunds-a-standalone-insurance_797329606/recording.har @@ -48,12 +48,12 @@ "url": "https://api.easypost.com/v2/insurances" }, "response": { - "bodySize": 1614, + "bodySize": 1611, "content": { "encoding": "base64", "mimeType": "application/json; charset=utf-8", - "size": 1614, - "text": "{\"id\":\"ins_a91fec6a358149289e85b4ad7f85be89\",\"object\":\"Insurance\",\"mode\":\"test\",\"reference\":null,\"status\":\"pending\",\"amount\":\"100.00000\",\"provider\":\"easypost\",\"provider_id\":null,\"to_address\":{\"id\":\"adr_ab19924af2a311eebe8cac1f6bc539aa\",\"object\":\"Address\",\"created_at\":\"2024-04-04T16:52:05+00:00\",\"updated_at\":\"2024-04-04T16:52:05+00:00\",\"name\":\"ELIZABETH SWAN\",\"company\":null,\"street1\":\"179 N HARBOR DR\",\"street2\":\"\",\"city\":\"REDONDO BEACH\",\"state\":\"CA\",\"zip\":\"90277-2506\",\"country\":\"US\",\"phone\":\"\",\"email\":\"\",\"mode\":\"test\",\"carrier_facility\":null,\"residential\":false,\"federal_tax_id\":null,\"state_tax_id\":null,\"verifications\":{\"zip4\":{\"success\":true,\"errors\":[],\"details\":null},\"delivery\":{\"success\":true,\"errors\":[],\"details\":{\"latitude\":33.8436,\"longitude\":-118.39177,\"time_zone\":\"America/Los_Angeles\"}}}},\"from_address\":{\"id\":\"adr_ab1e52b9f2a311ee87e6ac1f6bc53342\",\"object\":\"Address\",\"created_at\":\"2024-04-04T16:52:05+00:00\",\"updated_at\":\"2024-04-04T16:52:05+00:00\",\"name\":\"JACK SPARROW\",\"company\":null,\"street1\":\"388 TOWNSEND ST APT 20\",\"street2\":\"\",\"city\":\"SAN FRANCISCO\",\"state\":\"CA\",\"zip\":\"94107-1670\",\"country\":\"US\",\"phone\":\"\",\"email\":\"\",\"mode\":\"test\",\"carrier_facility\":null,\"residential\":true,\"federal_tax_id\":null,\"state_tax_id\":null,\"verifications\":{\"zip4\":{\"success\":true,\"errors\":[],\"details\":null},\"delivery\":{\"success\":true,\"errors\":[],\"details\":{\"latitude\":37.77551,\"longitude\":-122.39697,\"time_zone\":\"America/Los_Angeles\"}}}},\"shipment_id\":null,\"tracker\":{\"id\":\"trk_94063e4c42a34deabea45b4d3c055bea\",\"object\":\"Tracker\",\"mode\":\"test\",\"tracking_code\":\"EZ1000000001\",\"status\":\"pre_transit\",\"status_detail\":\"status_update\",\"created_at\":\"2024-04-04T16:46:11Z\",\"updated_at\":\"2024-04-04T16:46:11Z\",\"signed_by\":null,\"weight\":null,\"est_delivery_date\":\"2024-04-04T16:46:11Z\",\"shipment_id\":null,\"carrier\":\"USPS\",\"tracking_details\":[{\"object\":\"TrackingDetail\",\"message\":\"Pre-Shipment Info Sent to USPS\",\"description\":\"\",\"status\":\"pre_transit\",\"status_detail\":\"status_update\",\"datetime\":\"2024-03-04T16:46:11Z\",\"source\":\"USPS\",\"carrier_code\":\"\",\"tracking_location\":{\"object\":\"TrackingLocation\",\"city\":null,\"state\":null,\"country\":null,\"zip\":null}},{\"object\":\"TrackingDetail\",\"message\":\"Shipping Label Created\",\"description\":\"\",\"status\":\"pre_transit\",\"status_detail\":\"status_update\",\"datetime\":\"2024-03-05T05:23:11Z\",\"source\":\"USPS\",\"carrier_code\":\"\",\"tracking_location\":{\"object\":\"TrackingLocation\",\"city\":\"HOUSTON\",\"state\":\"TX\",\"country\":null,\"zip\":\"77063\"}}],\"carrier_detail\":{\"object\":\"CarrierDetail\",\"service\":\"First-Class Package Service\",\"container_type\":null,\"est_delivery_date_local\":null,\"est_delivery_time_local\":null,\"origin_location\":\"HOUSTON TX, 77001\",\"origin_tracking_location\":{\"object\":\"TrackingLocation\",\"city\":\"HOUSTON\",\"state\":\"TX\",\"country\":null,\"zip\":\"77063\"},\"destination_location\":\"CHARLESTON SC, 29401\",\"destination_tracking_location\":null,\"guaranteed_delivery_date\":null,\"alternate_identifier\":null,\"initial_delivery_attempt\":null},\"finalized\":true,\"is_return\":false,\"public_url\":\"https://track.easypost.com/djE6dHJrXzk0MDYzZTRjNDJhMzRkZWFiZWE0NWI0ZDNjMDU1YmVh\",\"fees\":[]},\"tracking_code\":\"EZ1000000001\",\"fee\":{\"object\":\"Fee\",\"type\":\"InsuranceFee\",\"amount\":\"1.00000\",\"charged\":true,\"refunded\":false},\"messages\":[],\"created_at\":\"2024-04-04T16:52:05Z\",\"updated_at\":\"2024-04-04T16:52:06Z\"}" + "size": 1611, + "text": "{\"id\":\"ins_eea89722c6c44a2f9f899101dbb2da81\",\"object\":\"Insurance\",\"mode\":\"test\",\"reference\":null,\"status\":\"pending\",\"amount\":\"100.00000\",\"provider\":\"easypost\",\"provider_id\":null,\"to_address\":{\"id\":\"adr_185c4714f5d111ee8ab1ac1f6bc539ae\",\"object\":\"Address\",\"created_at\":\"2024-04-08T17:54:50+00:00\",\"updated_at\":\"2024-04-08T17:54:50+00:00\",\"name\":\"ELIZABETH SWAN\",\"company\":null,\"street1\":\"179 N HARBOR DR\",\"street2\":\"\",\"city\":\"REDONDO BEACH\",\"state\":\"CA\",\"zip\":\"90277-2506\",\"country\":\"US\",\"phone\":\"\",\"email\":\"\",\"mode\":\"test\",\"carrier_facility\":null,\"residential\":false,\"federal_tax_id\":null,\"state_tax_id\":null,\"verifications\":{\"zip4\":{\"success\":true,\"errors\":[],\"details\":null},\"delivery\":{\"success\":true,\"errors\":[],\"details\":{\"latitude\":33.8436,\"longitude\":-118.39177,\"time_zone\":\"America/Los_Angeles\"}}}},\"from_address\":{\"id\":\"adr_18618413f5d111ee9cb5ac1f6bc53342\",\"object\":\"Address\",\"created_at\":\"2024-04-08T17:54:50+00:00\",\"updated_at\":\"2024-04-08T17:54:50+00:00\",\"name\":\"JACK SPARROW\",\"company\":null,\"street1\":\"388 TOWNSEND ST APT 20\",\"street2\":\"\",\"city\":\"SAN FRANCISCO\",\"state\":\"CA\",\"zip\":\"94107-1670\",\"country\":\"US\",\"phone\":\"\",\"email\":\"\",\"mode\":\"test\",\"carrier_facility\":null,\"residential\":true,\"federal_tax_id\":null,\"state_tax_id\":null,\"verifications\":{\"zip4\":{\"success\":true,\"errors\":[],\"details\":null},\"delivery\":{\"success\":true,\"errors\":[],\"details\":{\"latitude\":37.77551,\"longitude\":-122.39697,\"time_zone\":\"America/Los_Angeles\"}}}},\"shipment_id\":null,\"tracker\":{\"id\":\"trk_7b8cff27b79f490e8a8c8ff4e51e063e\",\"object\":\"Tracker\",\"mode\":\"test\",\"tracking_code\":\"EZ1000000001\",\"status\":\"pre_transit\",\"status_detail\":\"status_update\",\"created_at\":\"2024-04-08T17:49:38Z\",\"updated_at\":\"2024-04-08T17:49:38Z\",\"signed_by\":null,\"weight\":null,\"est_delivery_date\":\"2024-04-08T17:49:38Z\",\"shipment_id\":null,\"carrier\":\"USPS\",\"tracking_details\":[{\"object\":\"TrackingDetail\",\"message\":\"Pre-Shipment Info Sent to USPS\",\"description\":\"\",\"status\":\"pre_transit\",\"status_detail\":\"status_update\",\"datetime\":\"2024-03-08T17:49:38Z\",\"source\":\"USPS\",\"carrier_code\":\"\",\"tracking_location\":{\"object\":\"TrackingLocation\",\"city\":null,\"state\":null,\"country\":null,\"zip\":null}},{\"object\":\"TrackingDetail\",\"message\":\"Shipping Label Created\",\"description\":\"\",\"status\":\"pre_transit\",\"status_detail\":\"status_update\",\"datetime\":\"2024-03-09T06:26:38Z\",\"source\":\"USPS\",\"carrier_code\":\"\",\"tracking_location\":{\"object\":\"TrackingLocation\",\"city\":\"HOUSTON\",\"state\":\"TX\",\"country\":null,\"zip\":\"77063\"}}],\"carrier_detail\":{\"object\":\"CarrierDetail\",\"service\":\"First-Class Package Service\",\"container_type\":null,\"est_delivery_date_local\":null,\"est_delivery_time_local\":null,\"origin_location\":\"HOUSTON TX, 77001\",\"origin_tracking_location\":{\"object\":\"TrackingLocation\",\"city\":\"HOUSTON\",\"state\":\"TX\",\"country\":null,\"zip\":\"77063\"},\"destination_location\":\"CHARLESTON SC, 29401\",\"destination_tracking_location\":null,\"guaranteed_delivery_date\":null,\"alternate_identifier\":null,\"initial_delivery_attempt\":null},\"finalized\":true,\"is_return\":false,\"public_url\":\"https://track.easypost.com/djE6dHJrXzdiOGNmZjI3Yjc5ZjQ5MGU4YThjOGZmNGU1MWUwNjNl\",\"fees\":[]},\"tracking_code\":\"EZ1000000001\",\"fee\":{\"object\":\"Fee\",\"type\":\"InsuranceFee\",\"amount\":\"1.00000\",\"charged\":true,\"refunded\":false},\"messages\":[],\"created_at\":\"2024-04-08T17:54:50Z\",\"updated_at\":\"2024-04-08T17:54:50Z\"}" }, "cookies": [], "headers": [ @@ -83,7 +83,7 @@ }, { "name": "x-ep-request-uuid", - "value": "57918bba660edab5e786a75900731396" + "value": "295ee61e66142f6ae799e1c40091b0bf" }, { "name": "cache-control", @@ -99,7 +99,7 @@ }, { "name": "location", - "value": "/api/v2/insurances/ins_a91fec6a358149289e85b4ad7f85be89" + "value": "/api/v2/insurances/ins_eea89722c6c44a2f9f899101dbb2da81" }, { "name": "content-type", @@ -107,7 +107,7 @@ }, { "name": "x-runtime", - "value": "0.187265" + "value": "0.184825" }, { "name": "content-encoding", @@ -119,23 +119,19 @@ }, { "name": "x-node", - "value": "bigweb43nuq" + "value": "bigweb38nuq" }, { "name": "x-version-label", - "value": "easypost-202404041612-01938f7c7e-master" + "value": "easypost-202404081732-cdcb81b7f6-master" }, { "name": "x-backend", "value": "easypost" }, - { - "name": "x-canary", - "value": "direct" - }, { "name": "x-proxied", - "value": "intlb4nuq 39c21b8207, extlb1nuq 60566a9ec2" + "value": "intlb4nuq 39c21b8207, extlb2nuq 60566a9ec2" }, { "name": "strict-transport-security", @@ -146,14 +142,14 @@ "value": "close" } ], - "headersSize": 795, + "headersSize": 777, "httpVersion": "HTTP/1.1", - "redirectURL": "/api/v2/insurances/ins_a91fec6a358149289e85b4ad7f85be89", + "redirectURL": "/api/v2/insurances/ins_eea89722c6c44a2f9f899101dbb2da81", "status": 201, "statusText": "Created" }, - "startedDateTime": "2024-04-04T16:52:05.240Z", - "time": 613, + "startedDateTime": "2024-04-08T17:54:49.499Z", + "time": 637, "timings": { "blocked": -1, "connect": -1, @@ -161,11 +157,11 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 613 + "wait": 637 } }, { - "_id": "64800673b982655077ae82d09e0d61c4", + "_id": "d12526630e32b111db74c8b340517911", "_order": 0, "cache": {}, "request": { @@ -202,15 +198,15 @@ "text": "{}" }, "queryString": [], - "url": "https://api.easypost.com/v2/insurances/ins_a91fec6a358149289e85b4ad7f85be89/refund" + "url": "https://api.easypost.com/v2/insurances/ins_eea89722c6c44a2f9f899101dbb2da81/refund" }, "response": { - "bodySize": 1595, + "bodySize": 1634, "content": { "encoding": "base64", "mimeType": "application/json; charset=utf-8", - "size": 1595, - "text": "{\"id\":\"ins_a91fec6a358149289e85b4ad7f85be89\",\"object\":\"Insurance\",\"mode\":\"test\",\"reference\":null,\"status\":\"cancelled\",\"amount\":\"100.00000\",\"provider\":\"easypost\",\"provider_id\":null,\"to_address\":{\"id\":\"adr_ab19924af2a311eebe8cac1f6bc539aa\",\"object\":\"Address\",\"created_at\":\"2024-04-04T16:52:05+00:00\",\"updated_at\":\"2024-04-04T16:52:05+00:00\",\"name\":\"ELIZABETH SWAN\",\"company\":null,\"street1\":\"179 N HARBOR DR\",\"street2\":null,\"city\":\"REDONDO BEACH\",\"state\":\"CA\",\"zip\":\"90277-2506\",\"country\":\"US\",\"phone\":\"\",\"email\":\"\",\"mode\":\"test\",\"carrier_facility\":null,\"residential\":false,\"federal_tax_id\":null,\"state_tax_id\":null,\"verifications\":{\"zip4\":{\"success\":true,\"errors\":[],\"details\":null},\"delivery\":{\"success\":true,\"errors\":[],\"details\":{\"latitude\":33.8436,\"longitude\":-118.39177,\"time_zone\":\"America/Los_Angeles\"}}}},\"from_address\":{\"id\":\"adr_ab1e52b9f2a311ee87e6ac1f6bc53342\",\"object\":\"Address\",\"created_at\":\"2024-04-04T16:52:05+00:00\",\"updated_at\":\"2024-04-04T16:52:05+00:00\",\"name\":\"JACK SPARROW\",\"company\":null,\"street1\":\"388 TOWNSEND ST APT 20\",\"street2\":null,\"city\":\"SAN FRANCISCO\",\"state\":\"CA\",\"zip\":\"94107-1670\",\"country\":\"US\",\"phone\":\"\",\"email\":\"\",\"mode\":\"test\",\"carrier_facility\":null,\"residential\":true,\"federal_tax_id\":null,\"state_tax_id\":null,\"verifications\":{\"zip4\":{\"success\":true,\"errors\":[],\"details\":null},\"delivery\":{\"success\":true,\"errors\":[],\"details\":{\"latitude\":37.77551,\"longitude\":-122.39697,\"time_zone\":\"America/Los_Angeles\"}}}},\"shipment_id\":null,\"tracker\":{\"id\":\"trk_3a215a8e2af74d138a22899c05a16057\",\"object\":\"Tracker\",\"mode\":\"test\",\"tracking_code\":\"EZ1000000001\",\"status\":\"pre_transit\",\"status_detail\":\"status_update\",\"created_at\":\"2024-04-04T16:52:06Z\",\"updated_at\":\"2024-04-04T16:52:06Z\",\"signed_by\":null,\"weight\":null,\"est_delivery_date\":\"2024-04-04T16:52:06Z\",\"shipment_id\":null,\"carrier\":\"USPS\",\"tracking_details\":[{\"object\":\"TrackingDetail\",\"message\":\"Pre-Shipment Info Sent to USPS\",\"description\":\"\",\"status\":\"pre_transit\",\"status_detail\":\"status_update\",\"datetime\":\"2024-03-04T16:52:06Z\",\"source\":\"USPS\",\"carrier_code\":\"\",\"tracking_location\":{\"object\":\"TrackingLocation\",\"city\":null,\"state\":null,\"country\":null,\"zip\":null}},{\"object\":\"TrackingDetail\",\"message\":\"Shipping Label Created\",\"description\":\"\",\"status\":\"pre_transit\",\"status_detail\":\"status_update\",\"datetime\":\"2024-03-05T05:29:06Z\",\"source\":\"USPS\",\"carrier_code\":\"\",\"tracking_location\":{\"object\":\"TrackingLocation\",\"city\":\"HOUSTON\",\"state\":\"TX\",\"country\":null,\"zip\":\"77063\"}}],\"carrier_detail\":{\"object\":\"CarrierDetail\",\"service\":\"First-Class Package Service\",\"container_type\":null,\"est_delivery_date_local\":null,\"est_delivery_time_local\":null,\"origin_location\":\"HOUSTON TX, 77001\",\"origin_tracking_location\":{\"object\":\"TrackingLocation\",\"city\":\"HOUSTON\",\"state\":\"TX\",\"country\":null,\"zip\":\"77063\"},\"destination_location\":\"CHARLESTON SC, 29401\",\"destination_tracking_location\":null,\"guaranteed_delivery_date\":null,\"alternate_identifier\":null,\"initial_delivery_attempt\":null},\"finalized\":true,\"is_return\":false,\"public_url\":\"https://track.easypost.com/djE6dHJrXzNhMjE1YThlMmFmNzRkMTM4YTIyODk5YzA1YTE2MDU3\",\"fees\":[]},\"tracking_code\":\"EZ1000000001\",\"fee\":{\"object\":\"Fee\",\"type\":\"InsuranceFee\",\"amount\":\"1.00000\",\"charged\":true,\"refunded\":false},\"messages\":[],\"created_at\":\"2024-04-04T16:52:05Z\",\"updated_at\":\"2024-04-04T16:52:06Z\"}" + "size": 1634, + "text": "{\"id\":\"ins_eea89722c6c44a2f9f899101dbb2da81\",\"object\":\"Insurance\",\"mode\":\"test\",\"reference\":null,\"status\":\"cancelled\",\"amount\":\"100.00000\",\"provider\":\"easypost\",\"provider_id\":null,\"to_address\":{\"id\":\"adr_185c4714f5d111ee8ab1ac1f6bc539ae\",\"object\":\"Address\",\"created_at\":\"2024-04-08T17:54:50+00:00\",\"updated_at\":\"2024-04-08T17:54:50+00:00\",\"name\":\"ELIZABETH SWAN\",\"company\":null,\"street1\":\"179 N HARBOR DR\",\"street2\":null,\"city\":\"REDONDO BEACH\",\"state\":\"CA\",\"zip\":\"90277-2506\",\"country\":\"US\",\"phone\":\"\",\"email\":\"\",\"mode\":\"test\",\"carrier_facility\":null,\"residential\":false,\"federal_tax_id\":null,\"state_tax_id\":null,\"verifications\":{\"zip4\":{\"success\":true,\"errors\":[],\"details\":null},\"delivery\":{\"success\":true,\"errors\":[],\"details\":{\"latitude\":33.8436,\"longitude\":-118.39177,\"time_zone\":\"America/Los_Angeles\"}}}},\"from_address\":{\"id\":\"adr_18618413f5d111ee9cb5ac1f6bc53342\",\"object\":\"Address\",\"created_at\":\"2024-04-08T17:54:50+00:00\",\"updated_at\":\"2024-04-08T17:54:50+00:00\",\"name\":\"JACK SPARROW\",\"company\":null,\"street1\":\"388 TOWNSEND ST APT 20\",\"street2\":null,\"city\":\"SAN FRANCISCO\",\"state\":\"CA\",\"zip\":\"94107-1670\",\"country\":\"US\",\"phone\":\"\",\"email\":\"\",\"mode\":\"test\",\"carrier_facility\":null,\"residential\":true,\"federal_tax_id\":null,\"state_tax_id\":null,\"verifications\":{\"zip4\":{\"success\":true,\"errors\":[],\"details\":null},\"delivery\":{\"success\":true,\"errors\":[],\"details\":{\"latitude\":37.77551,\"longitude\":-122.39697,\"time_zone\":\"America/Los_Angeles\"}}}},\"shipment_id\":null,\"tracker\":{\"id\":\"trk_f36a7ce2330f43348702140d85edc9db\",\"object\":\"Tracker\",\"mode\":\"test\",\"tracking_code\":\"EZ1000000001\",\"status\":\"pre_transit\",\"status_detail\":\"status_update\",\"created_at\":\"2024-04-08T17:54:50Z\",\"updated_at\":\"2024-04-08T17:54:50Z\",\"signed_by\":null,\"weight\":null,\"est_delivery_date\":\"2024-04-08T17:54:50Z\",\"shipment_id\":null,\"carrier\":\"USPS\",\"tracking_details\":[{\"object\":\"TrackingDetail\",\"message\":\"Pre-Shipment Info Sent to USPS\",\"description\":\"\",\"status\":\"pre_transit\",\"status_detail\":\"status_update\",\"datetime\":\"2024-03-08T17:54:50Z\",\"source\":\"USPS\",\"carrier_code\":\"\",\"tracking_location\":{\"object\":\"TrackingLocation\",\"city\":null,\"state\":null,\"country\":null,\"zip\":null}},{\"object\":\"TrackingDetail\",\"message\":\"Shipping Label Created\",\"description\":\"\",\"status\":\"pre_transit\",\"status_detail\":\"status_update\",\"datetime\":\"2024-03-09T06:31:50Z\",\"source\":\"USPS\",\"carrier_code\":\"\",\"tracking_location\":{\"object\":\"TrackingLocation\",\"city\":\"HOUSTON\",\"state\":\"TX\",\"country\":null,\"zip\":\"77063\"}}],\"carrier_detail\":{\"object\":\"CarrierDetail\",\"service\":\"First-Class Package Service\",\"container_type\":null,\"est_delivery_date_local\":null,\"est_delivery_time_local\":null,\"origin_location\":\"HOUSTON TX, 77001\",\"origin_tracking_location\":{\"object\":\"TrackingLocation\",\"city\":\"HOUSTON\",\"state\":\"TX\",\"country\":null,\"zip\":\"77063\"},\"destination_location\":\"CHARLESTON SC, 29401\",\"destination_tracking_location\":null,\"guaranteed_delivery_date\":null,\"alternate_identifier\":null,\"initial_delivery_attempt\":null},\"finalized\":true,\"is_return\":false,\"public_url\":\"https://track.easypost.com/djE6dHJrX2YzNmE3Y2UyMzMwZjQzMzQ4NzAyMTQwZDg1ZWRjOWRi\",\"fees\":[]},\"tracking_code\":\"EZ1000000001\",\"fee\":{\"object\":\"Fee\",\"type\":\"InsuranceFee\",\"amount\":\"1.00000\",\"charged\":true,\"refunded\":false},\"messages\":[\"Insurance was cancelled by the user.\"],\"created_at\":\"2024-04-08T17:54:50Z\",\"updated_at\":\"2024-04-08T17:54:50Z\"}" }, "cookies": [], "headers": [ @@ -240,7 +236,7 @@ }, { "name": "x-ep-request-uuid", - "value": "57918bbd660edab6e786a75a00731431" + "value": "295ee62066142f6ae799e1c50091b178" }, { "name": "cache-control", @@ -260,7 +256,7 @@ }, { "name": "x-runtime", - "value": "0.095177" + "value": "0.121367" }, { "name": "content-encoding", @@ -272,11 +268,11 @@ }, { "name": "x-node", - "value": "bigweb38nuq" + "value": "bigweb34nuq" }, { "name": "x-version-label", - "value": "easypost-202404041612-01938f7c7e-master" + "value": "easypost-202404081732-cdcb81b7f6-master" }, { "name": "x-backend", @@ -284,7 +280,7 @@ }, { "name": "x-proxied", - "value": "intlb3nuq 39c21b8207, extlb1nuq 60566a9ec2" + "value": "intlb4nuq 39c21b8207, extlb2nuq 60566a9ec2" }, { "name": "strict-transport-security", @@ -301,8 +297,8 @@ "status": 200, "statusText": "OK" }, - "startedDateTime": "2024-04-04T16:52:05.857Z", - "time": 486, + "startedDateTime": "2024-04-08T17:54:50.141Z", + "time": 500, "timings": { "blocked": -1, "connect": -1, @@ -310,7 +306,7 @@ "receive": 0, "send": 0, "ssl": -1, - "wait": 486 + "wait": 500 } } ], diff --git a/test/services/insurance.test.js b/test/services/insurance.test.js index 187d66f36..dc53cdd13 100644 --- a/test/services/insurance.test.js +++ b/test/services/insurance.test.js @@ -86,5 +86,6 @@ describe('Insurance Service', function () { expect(cancelledInsurance).to.be.an.instanceOf(Insurance); expect(cancelledInsurance.id).to.match(/^ins_/); expect(cancelledInsurance.status).to.equal('cancelled'); + expect(cancelledInsurance.messages[0]).to.equal('Insurance was cancelled by the user.') }); });