diff --git a/spec/cassettes/company_no_inactive.yml b/spec/cassettes/company_no_inactive.yml index 0be7e8751..356665833 100644 --- a/spec/cassettes/company_no_inactive.yml +++ b/spec/cassettes/company_no_inactive.yml @@ -22,14 +22,6 @@ http_interactions: code: 200 message: OK headers: - Date: - - Mon, 25 Mar 2019 09:36:37 GMT - Content-Type: - - application/json - Content-Length: - - '979' - Connection: - - keep-alive Access-Control-Allow-Credentials: - 'true' Access-Control-Allow-Headers: @@ -44,18 +36,26 @@ http_interactions: - '3600' Cache-Control: - no-store, no-cache, must-revalidate, post-check=0, pre-check=0 + Content-Type: + - application/json + Date: + - Wed, 10 Apr 2019 11:19:16 GMT Pragma: - no-cache + Server: + - CompaniesHouse X-Ratelimit-Limit: - '600' X-Ratelimit-Remain: - '597' X-Ratelimit-Reset: - - '1553506897' + - '1554895456' X-Ratelimit-Window: - 5m - Server: - - CompaniesHouse + Content-Length: + - '979' + Connection: + - keep-alive body: encoding: UTF-8 string: '{"sic_codes":["82990"],"company_number":"07281919","has_been_liquidated":false,"accounts":{"last_accounts":{"made_up_to":"2013-06-30","type":"total-exemption-small"},"accounting_reference_date":{"day":"30","month":"06"}},"last_full_members_list_date":"2014-06-11","status":"active","type":"ltd","date_of_creation":"2010-06-11","registered_office_address":{"postal_code":"HA8 @@ -63,5 +63,5 @@ http_interactions: Elizabeth House","address_line_2":"54-58 High Street"},"undeliverable_registered_office_address":false,"company_name":"DIRECT SKIPS UK LTD","annual_return":{"last_made_up_to":"2014-06-11"},"jurisdiction":"england-wales","etag":"1cdef5bc2a020b3e9003b086033b64b78bcb28f6","company_status":"dissolved","has_insolvency_history":false,"has_charges":false,"links":{"self":"/company/07281919","filing_history":"/company/07281919/filing-history","officers":"/company/07281919/officers"},"date_of_cessation":"2016-01-05","can_file":false}' http_version: - recorded_at: Mon, 25 Mar 2019 09:36:37 GMT + recorded_at: Wed, 10 Apr 2019 11:19:11 GMT recorded_with: VCR 4.0.0 diff --git a/spec/cassettes/company_no_not_found.yml b/spec/cassettes/company_no_not_found.yml index 9a5defe6b..1a5e0e69b 100644 --- a/spec/cassettes/company_no_not_found.yml +++ b/spec/cassettes/company_no_not_found.yml @@ -22,14 +22,6 @@ http_interactions: code: 404 message: Not Found headers: - Date: - - Mon, 25 Mar 2019 09:36:37 GMT - Content-Type: - - application/json - Content-Length: - - '70' - Connection: - - keep-alive Access-Control-Allow-Credentials: - 'true' Access-Control-Allow-Headers: @@ -44,21 +36,29 @@ http_interactions: - '3600' Cache-Control: - no-store, no-cache, must-revalidate, post-check=0, pre-check=0 + Content-Type: + - application/json + Date: + - Wed, 10 Apr 2019 11:19:16 GMT Pragma: - no-cache + Server: + - CompaniesHouse X-Ratelimit-Limit: - '600' X-Ratelimit-Remain: - '599' X-Ratelimit-Reset: - - '1553506897' + - '1554895456' X-Ratelimit-Window: - 5m - Server: - - CompaniesHouse + Content-Length: + - '70' + Connection: + - keep-alive body: encoding: UTF-8 - string: '{"errors":[{"type":"ch:service","error":"company-profile-not-found"}]}' + string: '{"errors":[{"error":"company-profile-not-found","type":"ch:service"}]}' http_version: - recorded_at: Mon, 25 Mar 2019 09:36:37 GMT + recorded_at: Wed, 10 Apr 2019 11:19:11 GMT recorded_with: VCR 4.0.0 diff --git a/spec/cassettes/company_no_valid.yml b/spec/cassettes/company_no_valid.yml index 896816f53..ca36a9302 100644 --- a/spec/cassettes/company_no_valid.yml +++ b/spec/cassettes/company_no_valid.yml @@ -22,14 +22,6 @@ http_interactions: code: 200 message: OK headers: - Date: - - Mon, 25 Mar 2019 09:36:37 GMT - Content-Type: - - application/json - Content-Length: - - '1178' - Connection: - - keep-alive Access-Control-Allow-Credentials: - 'true' Access-Control-Allow-Headers: @@ -44,22 +36,30 @@ http_interactions: - '3600' Cache-Control: - no-store, no-cache, must-revalidate, post-check=0, pre-check=0 + Content-Type: + - application/json + Date: + - Wed, 10 Apr 2019 11:19:16 GMT Pragma: - no-cache + Server: + - CompaniesHouse X-Ratelimit-Limit: - '600' X-Ratelimit-Remain: - '598' X-Ratelimit-Reset: - - '1553506897' + - '1554895456' X-Ratelimit-Window: - 5m - Server: - - CompaniesHouse + Content-Length: + - '1178' + Connection: + - keep-alive body: encoding: UTF-8 string: '{"type":"ltd","company_name":"0800 WASTE LTD.","has_insolvency_history":false,"accounts":{"next_due":"2019-09-30","next_made_up_to":"2018-12-31","next_accounts":{"overdue":false,"period_start_on":"2018-01-01","due_on":"2019-09-30","period_end_on":"2018-12-31"},"accounting_reference_date":{"month":"12","day":"31"},"last_accounts":{"period_end_on":"2017-12-31","period_start_on":"2017-01-01","made_up_to":"2017-12-31"},"overdue":false},"undeliverable_registered_office_address":false,"etag":"0ec9d00cab0ffee2ef1f5d59f4f714fa5b1618f5","company_number":"09360070","registered_office_address":{"postal_code":"SM3 9ND","locality":"Sutton","region":"Surrey","address_line_1":"21 Haslam Avenue"},"jurisdiction":"england-wales","date_of_creation":"2014-12-18","company_status":"active","has_charges":false,"sic_codes":["38110"],"last_full_members_list_date":"2015-12-18","confirmation_statement":{"overdue":false,"next_made_up_to":"2020-01-23","last_made_up_to":"2019-01-23","next_due":"2020-02-06"},"links":{"self":"/company/09360070","filing_history":"/company/09360070/filing-history","officers":"/company/09360070/officers"},"registered_office_is_in_dispute":false,"can_file":true}' http_version: - recorded_at: Mon, 25 Mar 2019 09:36:37 GMT + recorded_at: Wed, 10 Apr 2019 11:19:11 GMT recorded_with: VCR 4.0.0 diff --git a/spec/cassettes/entity_matching_business_has_matches.yml b/spec/cassettes/entity_matching_business_has_matches.yml index 61d27f7f6..3945782a3 100644 --- a/spec/cassettes/entity_matching_business_has_matches.yml +++ b/spec/cassettes/entity_matching_business_has_matches.yml @@ -21,7 +21,7 @@ http_interactions: message: OK headers: Date: - - Mon, 25 Mar 2019 09:36:32 GMT + - Wed, 10 Apr 2019 11:19:09 GMT Content-Type: - application/json Vary: @@ -31,7 +31,7 @@ http_interactions: body: encoding: UTF-8 string: '{"match_result":"YES","matching_system":"PQR","reference":"7766","matched_name":"Test - Waste Services Ltd.","searched_at":1553506592644,"confirmed":"no","confirmed_at":null,"confirmed_by":null}' + Waste Services Ltd.","searched_at":1554895149588,"confirmed":"no","confirmed_at":null,"confirmed_by":null}' http_version: - recorded_at: Mon, 25 Mar 2019 09:36:34 GMT + recorded_at: Wed, 10 Apr 2019 11:19:09 GMT recorded_with: VCR 4.0.0 diff --git a/spec/cassettes/entity_matching_business_no_matches.yml b/spec/cassettes/entity_matching_business_no_matches.yml index 8254c37b2..f7e0a016f 100644 --- a/spec/cassettes/entity_matching_business_no_matches.yml +++ b/spec/cassettes/entity_matching_business_no_matches.yml @@ -21,7 +21,7 @@ http_interactions: message: OK headers: Date: - - Mon, 25 Mar 2019 09:36:32 GMT + - Wed, 10 Apr 2019 11:19:09 GMT Content-Type: - application/json Vary: @@ -30,7 +30,7 @@ http_interactions: - '166' body: encoding: UTF-8 - string: '{"match_result":"NO","matching_system":null,"reference":null,"matched_name":null,"searched_at":1553506592850,"confirmed":"no","confirmed_at":null,"confirmed_by":null}' + string: '{"match_result":"NO","matching_system":null,"reference":null,"matched_name":null,"searched_at":1554895149783,"confirmed":"no","confirmed_at":null,"confirmed_by":null}' http_version: - recorded_at: Mon, 25 Mar 2019 09:36:34 GMT + recorded_at: Wed, 10 Apr 2019 11:19:09 GMT recorded_with: VCR 4.0.0 diff --git a/spec/cassettes/entity_matching_person_has_matches.yml b/spec/cassettes/entity_matching_person_has_matches.yml index 76e2655b5..fd189ada7 100644 --- a/spec/cassettes/entity_matching_person_has_matches.yml +++ b/spec/cassettes/entity_matching_person_has_matches.yml @@ -21,7 +21,7 @@ http_interactions: message: OK headers: Date: - - Mon, 25 Mar 2019 09:36:33 GMT + - Wed, 10 Apr 2019 11:19:09 GMT Content-Type: - application/json Vary: @@ -31,7 +31,7 @@ http_interactions: body: encoding: UTF-8 string: '{"match_result":"YES","matching_system":"ABC","reference":"1234","matched_name":"Blogs, - Fred","searched_at":1553506593107,"confirmed":"no","confirmed_at":null,"confirmed_by":null}' + Fred","searched_at":1554895149848,"confirmed":"no","confirmed_at":null,"confirmed_by":null}' http_version: - recorded_at: Mon, 25 Mar 2019 09:36:34 GMT + recorded_at: Wed, 10 Apr 2019 11:19:09 GMT recorded_with: VCR 4.0.0 diff --git a/spec/cassettes/entity_matching_person_no_matches.yml b/spec/cassettes/entity_matching_person_no_matches.yml index 928dfdf8e..e750cd184 100644 --- a/spec/cassettes/entity_matching_person_no_matches.yml +++ b/spec/cassettes/entity_matching_person_no_matches.yml @@ -21,7 +21,7 @@ http_interactions: message: OK headers: Date: - - Mon, 25 Mar 2019 09:36:33 GMT + - Wed, 10 Apr 2019 11:19:10 GMT Content-Type: - application/json Vary: @@ -30,9 +30,9 @@ http_interactions: - '166' body: encoding: UTF-8 - string: '{"match_result":"NO","matching_system":null,"reference":null,"matched_name":null,"searched_at":1553506593033,"confirmed":"no","confirmed_at":null,"confirmed_by":null}' + string: '{"match_result":"NO","matching_system":null,"reference":null,"matched_name":null,"searched_at":1554895150009,"confirmed":"no","confirmed_at":null,"confirmed_by":null}' http_version: - recorded_at: Mon, 25 Mar 2019 09:36:34 GMT + recorded_at: Wed, 10 Apr 2019 11:19:10 GMT - request: method: get uri: http://localhost:8003/match/person?dateofbirth=01-01-2000&firstname=Kate&lastname=Franklin @@ -54,7 +54,7 @@ http_interactions: message: OK headers: Date: - - Mon, 25 Mar 2019 09:36:33 GMT + - Wed, 10 Apr 2019 11:19:10 GMT Content-Type: - application/json Vary: @@ -63,7 +63,7 @@ http_interactions: - '166' body: encoding: UTF-8 - string: '{"match_result":"NO","matching_system":null,"reference":null,"matched_name":null,"searched_at":1553506593053,"confirmed":"no","confirmed_at":null,"confirmed_by":null}' + string: '{"match_result":"NO","matching_system":null,"reference":null,"matched_name":null,"searched_at":1554895150025,"confirmed":"no","confirmed_at":null,"confirmed_by":null}' http_version: - recorded_at: Mon, 25 Mar 2019 09:36:34 GMT + recorded_at: Wed, 10 Apr 2019 11:19:10 GMT recorded_with: VCR 4.0.0 diff --git a/spec/cassettes/entity_matching_person_unicode.yml b/spec/cassettes/entity_matching_person_unicode.yml index 2f0b3ad5b..d6299439b 100644 --- a/spec/cassettes/entity_matching_person_unicode.yml +++ b/spec/cassettes/entity_matching_person_unicode.yml @@ -21,7 +21,7 @@ http_interactions: message: OK headers: Date: - - Mon, 25 Mar 2019 09:36:32 GMT + - Wed, 10 Apr 2019 11:19:09 GMT Content-Type: - application/json Vary: @@ -30,7 +30,7 @@ http_interactions: - '166' body: encoding: UTF-8 - string: '{"match_result":"NO","matching_system":null,"reference":null,"matched_name":null,"searched_at":1553506592921,"confirmed":"no","confirmed_at":null,"confirmed_by":null}' + string: '{"match_result":"NO","matching_system":null,"reference":null,"matched_name":null,"searched_at":1554895149947,"confirmed":"no","confirmed_at":null,"confirmed_by":null}' http_version: - recorded_at: Mon, 25 Mar 2019 09:36:34 GMT + recorded_at: Wed, 10 Apr 2019 11:19:09 GMT recorded_with: VCR 4.0.0 diff --git a/spec/cassettes/postcode_no_matches.yml b/spec/cassettes/postcode_no_matches.yml index d9b27808e..a8704cdab 100644 --- a/spec/cassettes/postcode_no_matches.yml +++ b/spec/cassettes/postcode_no_matches.yml @@ -21,7 +21,7 @@ http_interactions: message: Bad Request headers: Date: - - Mon, 25 Mar 2019 09:36:33 GMT + - Wed, 10 Apr 2019 11:19:11 GMT Content-Type: - application/json Content-Length: @@ -30,5 +30,5 @@ http_interactions: encoding: UTF-8 string: '{"error":{"statuscode":400,"message":"Parameters are not valid"}}' http_version: - recorded_at: Mon, 25 Mar 2019 09:36:36 GMT + recorded_at: Wed, 10 Apr 2019 11:19:12 GMT recorded_with: VCR 4.0.0 diff --git a/spec/cassettes/postcode_valid.yml b/spec/cassettes/postcode_valid.yml index 71537c418..f8d5eea37 100644 --- a/spec/cassettes/postcode_valid.yml +++ b/spec/cassettes/postcode_valid.yml @@ -21,7 +21,7 @@ http_interactions: message: OK headers: Date: - - Mon, 25 Mar 2019 09:36:34 GMT + - Wed, 10 Apr 2019 11:19:12 GMT Content-Type: - application/json Vary: @@ -35,5 +35,5 @@ http_interactions: string: !binary |- H4sIAAAAAAAAAOWUUW+bMBDHv4rlZx6gaULWN1NQE42aypBNXdUHJziJNbCRMduqad+9x8JSIN1LlU2T9oDA/7PvfP/7iYfvuNRKfhYGX2HPdd95/sydXbrYwU1l1IlYSCVqfPWAF4TdphFFNyxZ3UEgjAiN2D1iCQnxo4Ot/tqeDtgyzZIYNlS6thudi1ZMPTQlCxAFr61UO9Am07k3aSsobez+oHn+xWzug7bRjbLmCSRY5KISKhfKxnrDC2nHcrY3utntt9yIQ4TnpVSytoZb+UUQI/jgYkWbhjR2rw0kW1U5tyKE53DY6Cde3HJZjAMVN1byAhYDKxyUsWUSJikKCH3voL4vDuqqwsfRgrpZB40scmiZ8rJLvh4q/ZQQba/6q8Vux8B+B2uz49AyNKxVt2M8sGOJplz/nH43o2S7lRsR6G/9AJgL7Zbg7ssdc92sCxG+No0fTh+ryaXrebMXoo7rI0yUZCtGYhTRm5jQ8Dw4XbjTE5x8d/7P4zQyw0GLhC0/JRTeqzQ6E1GDnG9F6nRsfxkqfwSV34cqW7DlhwixiEYfSRBHKbqLr//vP9WrlpyJqLdC9Lsx/VGUHp8B5v82jvgGAAA= http_version: - recorded_at: Mon, 25 Mar 2019 09:36:36 GMT + recorded_at: Wed, 10 Apr 2019 11:19:13 GMT recorded_with: VCR 4.0.0 diff --git a/spec/cassettes/worldpay_initial_request.yml b/spec/cassettes/worldpay_initial_request.yml index ee699c245..0f9ed0ad4 100644 --- a/spec/cassettes/worldpay_initial_request.yml +++ b/spec/cassettes/worldpay_initial_request.yml @@ -10,7 +10,7 @@ http_interactions: - + Your Waste Carrier Registration CBDU8 Waste Carrier Registration renewal: CBDU8 for Acme Waste @@ -55,7 +55,7 @@ http_interactions: message: OK headers: Date: - - Mon, 25 Mar 2019 09:36:36 GMT + - Wed, 10 Apr 2019 11:19:18 GMT Server: - Apache Content-Length: @@ -80,7 +80,7 @@ http_interactions: - https://secure-test.worldpay.com/wcc/dispatcher?OrderKey=MERCHANT_CODE%5E1553506596 + https://secure-test.worldpay.com/wcc/dispatcher?OrderKey=MERCHANT_CODE%5E1554895153 http_version: - recorded_at: Mon, 25 Mar 2019 09:36:36 GMT + recorded_at: Wed, 10 Apr 2019 11:19:13 GMT recorded_with: VCR 4.0.0 diff --git a/spec/cassettes/worldpay_initial_request_invalid.yml b/spec/cassettes/worldpay_initial_request_invalid.yml index 8c781d607..ceceff7bd 100644 --- a/spec/cassettes/worldpay_initial_request_invalid.yml +++ b/spec/cassettes/worldpay_initial_request_invalid.yml @@ -25,7 +25,7 @@ http_interactions: message: OK headers: Date: - - Mon, 25 Mar 2019 09:36:36 GMT + - Wed, 10 Apr 2019 11:19:18 GMT Server: - Apache Content-Length: @@ -52,5 +52,5 @@ http_interactions: "http://dtd.worldpay.com/paymentService_v1.dtd"> http_version: - recorded_at: Mon, 25 Mar 2019 09:36:36 GMT + recorded_at: Wed, 10 Apr 2019 11:19:13 GMT recorded_with: VCR 4.0.0 diff --git a/spec/cassettes/worldpay_redirect.yml b/spec/cassettes/worldpay_redirect.yml index 90c63f338..5d8b41e8f 100644 --- a/spec/cassettes/worldpay_redirect.yml +++ b/spec/cassettes/worldpay_redirect.yml @@ -10,7 +10,7 @@ http_interactions: - + Your Waste Carrier Registration CBDU6 Waste Carrier Registration renewal: CBDU6 for Acme Waste @@ -55,7 +55,7 @@ http_interactions: message: OK headers: Date: - - Mon, 25 Mar 2019 09:36:35 GMT + - Wed, 10 Apr 2019 11:19:15 GMT Server: - Apache Content-Length: @@ -80,7 +80,7 @@ http_interactions: - https://secure-test.worldpay.com/wcc/dispatcher?OrderKey=MERCHANT_CODE%5E1553506594 + https://secure-test.worldpay.com/wcc/dispatcher?OrderKey=MERCHANT_CODE%5E1554895150 http_version: - recorded_at: Mon, 25 Mar 2019 09:36:35 GMT + recorded_at: Wed, 10 Apr 2019 11:19:10 GMT recorded_with: VCR 4.0.0