From f48891f664412838b633320a8825ffa137d5b423 Mon Sep 17 00:00:00 2001 From: Dino Date: Tue, 17 Dec 2024 17:14:23 +0100 Subject: [PATCH] feat: fixtures --- fixtures/domains/domains_list.yml | 2 +- fixtures/domains/domains_settings.yml | 2 +- fixtures/inbound_routing/inbound_routing_list.yml | 2 +- fixtures/recipients/recipients_list.yml | 2 +- fixtures/recipients/recipients_single.yml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/fixtures/domains/domains_list.yml b/fixtures/domains/domains_list.yml index c83ff45..63bb2af 100644 --- a/fixtures/domains/domains_list.yml +++ b/fixtures/domains/domains_list.yml @@ -52,7 +52,7 @@ http_interactions: here to unsubscribe<\/a><\/p>","track_unsubscribe_html_enabled":false,"track_unsubscribe_plain":"Click here to unsubscribe: {$unsubscribe}","track_unsubscribe_plain_enabled":false,"track_content":false,"custom_tracking_enabled":false,"custom_tracking_subdomain":"email","return_path_subdomain":"mta","inbound_routing_enabled":false,"inbound_routing_subdomain":"inbound","precedence_bulk":false,"ignore_duplicated_recipients":false},"created_at":"2023-07-04T06:57:06.000000Z","updated_at":"2023-07-04T06:57:08.000000Z","totals":{"sent":0,"delivered":0,"hard_bounced":0,"soft_bounced":0}},{"id":"0p7kx4x6v1249yjr","name":"somedomain.com","dkim":false,"spf":false,"tracking":false,"is_verified":false,"is_cname_verified":false,"is_dns_active":false,"is_cname_active":false,"is_tracking_allowed":false,"domain_stats":{"total":0,"queued":0,"sent":0,"rejected":0,"delivered":0},"not_queued_messages_count":0,"domain_settings":{"send_paused":false,"track_clicks":true,"track_opens":true,"track_unsubscribe":false,"track_unsubscribe_html":"

Click here to unsubscribe<\/a><\/p>","track_unsubscribe_html_enabled":false,"track_unsubscribe_plain":"Click - here to unsubscribe: {$unsubscribe}","track_unsubscribe_plain_enabled":false,"track_content":false,"custom_tracking_enabled":false,"custom_tracking_subdomain":"email","return_path_subdomain":"mta","inbound_routing_enabled":false,"inbound_routing_subdomain":"inbound","precedence_bulk":false,"ignore_duplicated_recipients":false},"created_at":"2023-07-04T06:51:35.000000Z","updated_at":"2023-07-04T06:51:37.000000Z","totals":{"sent":0,"delivered":0,"hard_bounced":0,"soft_bounced":0}},{"id":"3yxj6lj1r05ldo2r","name":"igorovdomen.com","dkim":false,"spf":false,"tracking":false,"is_verified":false,"is_cname_verified":false,"is_dns_active":false,"is_cname_active":false,"is_tracking_allowed":false,"domain_stats":{"total":0,"queued":0,"sent":0,"rejected":0,"delivered":0},"not_queued_messages_count":0,"domain_settings":{"send_paused":true,"track_clicks":true,"track_opens":true,"track_unsubscribe":true,"track_unsubscribe_html":"

Stisni + here to unsubscribe: {$unsubscribe}","track_unsubscribe_plain_enabled":false,"track_content":false,"custom_tracking_enabled":false,"custom_tracking_subdomain":"email","return_path_subdomain":"mta","inbound_routing_enabled":false,"inbound_routing_subdomain":"inbound","precedence_bulk":false,"ignore_duplicated_recipients":false},"created_at":"2023-07-04T06:51:35.000000Z","updated_at":"2023-07-04T06:51:37.000000Z","totals":{"sent":0,"delivered":0,"hard_bounced":0,"soft_bounced":0}},{"id":"3yxj6lj1r05ldo2r","name":"thedomain.com","dkim":false,"spf":false,"tracking":false,"is_verified":false,"is_cname_verified":false,"is_dns_active":false,"is_cname_active":false,"is_tracking_allowed":false,"domain_stats":{"total":0,"queued":0,"sent":0,"rejected":0,"delivered":0},"not_queued_messages_count":0,"domain_settings":{"send_paused":true,"track_clicks":true,"track_opens":true,"track_unsubscribe":true,"track_unsubscribe_html":"

Stisni ovde unsubscribe<\/a><\/p>","track_unsubscribe_html_enabled":false,"track_unsubscribe_plain":"Stisni ovde to unsubscribe: {$unsubscribe}","track_unsubscribe_plain_enabled":false,"track_content":true,"custom_tracking_enabled":true,"custom_tracking_subdomain":"email","return_path_subdomain":"rpsubdomain","inbound_routing_enabled":false,"inbound_routing_subdomain":"irsubdomain","precedence_bulk":false,"ignore_duplicated_recipients":false},"created_at":"2023-05-24T14:19:12.000000Z","updated_at":"2023-08-14T14:15:20.000000Z","totals":{"sent":0,"delivered":0,"hard_bounced":0,"soft_bounced":0}},{"id":"jpzkmgq7e5vl059v","name":"test-sdk.com","dkim":false,"spf":false,"tracking":false,"is_verified":true,"is_cname_verified":false,"is_dns_active":false,"is_cname_active":false,"is_tracking_allowed":false,"domain_stats":{"total":120,"queued":0,"sent":0,"rejected":5,"delivered":115},"has_not_queued_messages":false,"not_queued_messages_count":0,"domain_settings":{"send_paused":false,"track_clicks":true,"track_opens":true,"track_unsubscribe":false,"track_unsubscribe_html":"

Click here to unsubscribe<\/a><\/p>","track_unsubscribe_html_enabled":false,"track_unsubscribe_plain":"Click diff --git a/fixtures/domains/domains_settings.yml b/fixtures/domains/domains_settings.yml index 9f45ca1..8b59677 100644 --- a/fixtures/domains/domains_settings.yml +++ b/fixtures/domains/domains_settings.yml @@ -48,7 +48,7 @@ http_interactions: - 8f33501a9cdeec24-ZAG body: encoding: UTF-8 - string: '{"data":{"id":"3yxj6lj1r05ldo2r","name":"igorovdomen.com","dkim":false,"spf":false,"tracking":false,"is_verified":false,"is_cname_verified":false,"is_dns_active":false,"is_cname_active":false,"is_tracking_allowed":false,"domain_stats":{"total":0,"queued":0,"sent":0,"rejected":0,"delivered":0},"not_queued_messages_count":0,"domain_settings":{"send_paused":true,"track_clicks":true,"track_opens":true,"track_unsubscribe":true,"track_unsubscribe_html":"

Stisni + string: '{"data":{"id":"3yxj6lj1r05ldo2r","name":"ourdomain.com","dkim":false,"spf":false,"tracking":false,"is_verified":false,"is_cname_verified":false,"is_dns_active":false,"is_cname_active":false,"is_tracking_allowed":false,"domain_stats":{"total":0,"queued":0,"sent":0,"rejected":0,"delivered":0},"not_queued_messages_count":0,"domain_settings":{"send_paused":true,"track_clicks":true,"track_opens":true,"track_unsubscribe":true,"track_unsubscribe_html":"

Stisni ovde unsubscribe<\/a><\/p>","track_unsubscribe_html_enabled":false,"track_unsubscribe_plain":"Stisni ovde to unsubscribe: {$unsubscribe}","track_unsubscribe_plain_enabled":false,"track_content":true,"custom_tracking_enabled":true,"custom_tracking_subdomain":"email","return_path_subdomain":"rpsubdomain","inbound_routing_enabled":false,"inbound_routing_subdomain":"irsubdomain","precedence_bulk":false,"ignore_duplicated_recipients":false},"created_at":"2023-05-24T14:19:12.000000Z","updated_at":"2024-12-17T01:59:17.000000Z","totals":{"sent":0,"delivered":0,"hard_bounced":0,"soft_bounced":0}}}' recorded_at: Tue, 17 Dec 2024 01:59:17 GMT diff --git a/fixtures/inbound_routing/inbound_routing_list.yml b/fixtures/inbound_routing/inbound_routing_list.yml index b62b401..283a2d2 100644 --- a/fixtures/inbound_routing/inbound_routing_list.yml +++ b/fixtures/inbound_routing/inbound_routing_list.yml @@ -46,7 +46,7 @@ http_interactions: - 8f372e19a9655b49-VIE body: encoding: UTF-8 - string: '{"data":[{"id":"pr9084zw584w63dn","name":"etyrty","address":"g9lz3bsjlnqde2vhvheh@inbound.mailersend.net","domain":null,"dns_checked_at":null,"enabled":true,"filters":[{"type":"match_all","key":null,"comparer":null,"value":null}],"forwards":[{"type":"email","value":"roc@mailerlite.com","secret":null}],"priority":0,"mxValues":{"priority":"10","target":"inbound.mailersend.net"},"catch_type":"all","match_type":"all"},{"id":"7dnvo4dkd6l5r86y","name":"test","address":"kugzeoo4ydoeuxpjn913@inbound.mailersend.net","domain":null,"dns_checked_at":null,"enabled":true,"filters":[{"type":"match_all","key":null,"comparer":null,"value":null}],"forwards":[{"type":"webhook","value":"https:\/\/google.com","secret":"T47PIxNnXJmPA9ZxB5PBbOkSLvKSsZNR"}],"priority":0,"mxValues":{"priority":"10","target":"inbound.mailersend.net"},"catch_type":"all","match_type":"all"}],"links":{"first":"https:\/\/api.mailersend.com\/v1\/inbound?page=1","last":"https:\/\/api.mailersend.com\/v1\/inbound?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« + string: '{"data":[{"id":"pr9084zw584w63dn","name":"etyrty","address":"g9lz3bsjlnqde2vhvheh@inbound.mailersend.net","domain":null,"dns_checked_at":null,"enabled":true,"filters":[{"type":"match_all","key":null,"comparer":null,"value":null}],"forwards":[{"type":"email","value":"test@mailerlite.com","secret":null}],"priority":0,"mxValues":{"priority":"10","target":"inbound.mailersend.net"},"catch_type":"all","match_type":"all"},{"id":"7dnvo4dkd6l5r86y","name":"test","address":"kugzeoo4ydoeuxpjn913@inbound.mailersend.net","domain":null,"dns_checked_at":null,"enabled":true,"filters":[{"type":"match_all","key":null,"comparer":null,"value":null}],"forwards":[{"type":"webhook","value":"https:\/\/google.com","secret":"T47PIxNnXJmPA9ZxB5PBbOkSLvKSsZNR"}],"priority":0,"mxValues":{"priority":"10","target":"inbound.mailersend.net"},"catch_type":"all","match_type":"all"}],"links":{"first":"https:\/\/api.mailersend.com\/v1\/inbound?page=1","last":"https:\/\/api.mailersend.com\/v1\/inbound?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Previous","active":false},{"url":"https:\/\/api.mailersend.com\/v1\/inbound?page=1","label":"1","active":true},{"url":null,"label":"Next »","active":false}],"path":"https:\/\/api.mailersend.com\/v1\/inbound","per_page":10,"to":2,"total":2}}' recorded_at: Tue, 17 Dec 2024 13:15:07 GMT diff --git a/fixtures/recipients/recipients_list.yml b/fixtures/recipients/recipients_list.yml index 9c57424..2ace2fe 100644 --- a/fixtures/recipients/recipients_list.yml +++ b/fixtures/recipients/recipients_list.yml @@ -46,6 +46,6 @@ http_interactions: - 8f366282ad455b96-VIE body: encoding: UTF-8 - string: '{"data":[{"id":"663cd8f984e4628b80b976a3","email":"39af28b9-edc8-4fd3-b4cb-9a7b49326d28@emailhook.site","created_at":"2024-05-09T14:08:57.000000Z","updated_at":"2024-05-09T14:08:57.000000Z","deleted_at":""},{"id":"6734f6d786a360f6c61e7dc3","email":"79e819c7-130f-46b2-8102-503cb27778af@emailhook.site","created_at":"2024-11-13T18:58:31.000000Z","updated_at":"2024-11-13T18:58:31.000000Z","deleted_at":""},{"id":"63189f366eea0254cd053519","email":"bcc@test-sdk.com","created_at":"2022-09-07T13:40:07.000000Z","updated_at":"2022-09-07T13:40:07.000000Z","deleted_at":""},{"id":"66ab7ddbdb1567cdd428632d","email":"bcc@test-sdk.com","created_at":"2024-08-01T12:21:47.000000Z","updated_at":"2024-08-01T12:21:47.000000Z","deleted_at":""},{"id":"63189f35c55e2c48af0f453a","email":"cc@test-sdk.com","created_at":"2022-09-07T13:40:05.000000Z","updated_at":"2022-09-07T13:40:07.000000Z","deleted_at":""},{"id":"66ab7ddac40010224eed771d","email":"cc@test-sdk.com","created_at":"2024-08-01T12:21:46.000000Z","updated_at":"2024-08-01T12:21:46.000000Z","deleted_at":""},{"id":"6655e19fc7f63cea62ee560e","email":"dino@mailerlite.com","created_at":"2024-05-28T13:52:31.000000Z","updated_at":"2024-05-28T13:52:31.000000Z","deleted_at":""},{"id":"651beff29da2c59903f1887d","email":"igor@mailerlite.com","created_at":"2023-10-03T10:41:54.000000Z","updated_at":"2023-10-03T10:41:54.000000Z","deleted_at":""},{"id":"63189de8c17fea67da00bd1c","email":"java@mailersend.com","created_at":"2022-09-07T13:34:32.000000Z","updated_at":"2022-09-07T13:34:32.000000Z","deleted_at":""},{"id":"66ab7dd8a5fda379924509d7","email":"java@mailersend.com","created_at":"2024-08-01T12:21:44.000000Z","updated_at":"2024-08-01T12:21:44.000000Z","deleted_at":""}],"links":{"first":"https:\/\/api.mailersend.com\/v1\/recipients?page=1","last":null,"prev":null,"next":"https:\/\/api.mailersend.com\/v1\/recipients?page=2"},"meta":{"current_page":1,"from":1,"path":"https:\/\/api.mailersend.com\/v1\/recipients","per_page":10,"to":10}}' + string: '{"data":[{"id":"663cd8f984e4628b80b976a3","email":"39af28b9-edc8-4fd3-b4cb-9a7b49326d28@emailhook.site","created_at":"2024-05-09T14:08:57.000000Z","updated_at":"2024-05-09T14:08:57.000000Z","deleted_at":""},{"id":"6734f6d786a360f6c61e7dc3","email":"79e819c7-130f-46b2-8102-503cb27778af@emailhook.site","created_at":"2024-11-13T18:58:31.000000Z","updated_at":"2024-11-13T18:58:31.000000Z","deleted_at":""},{"id":"63189f366eea0254cd053519","email":"bcc@test-sdk.com","created_at":"2022-09-07T13:40:07.000000Z","updated_at":"2022-09-07T13:40:07.000000Z","deleted_at":""},{"id":"66ab7ddbdb1567cdd428632d","email":"bcc@test-sdk.com","created_at":"2024-08-01T12:21:47.000000Z","updated_at":"2024-08-01T12:21:47.000000Z","deleted_at":""},{"id":"63189f35c55e2c48af0f453a","email":"cc@test-sdk.com","created_at":"2022-09-07T13:40:05.000000Z","updated_at":"2022-09-07T13:40:07.000000Z","deleted_at":""},{"id":"66ab7ddac40010224eed771d","email":"cc@test-sdk.com","created_at":"2024-08-01T12:21:46.000000Z","updated_at":"2024-08-01T12:21:46.000000Z","deleted_at":""},{"id":"6655e19fc7f63cea62ee560e","email":"test@mailerlite.com","created_at":"2024-05-28T13:52:31.000000Z","updated_at":"2024-05-28T13:52:31.000000Z","deleted_at":""},{"id":"651beff29da2c59903f1887d","email":"test@mailerlite.com","created_at":"2023-10-03T10:41:54.000000Z","updated_at":"2023-10-03T10:41:54.000000Z","deleted_at":""},{"id":"63189de8c17fea67da00bd1c","email":"java@mailersend.com","created_at":"2022-09-07T13:34:32.000000Z","updated_at":"2022-09-07T13:34:32.000000Z","deleted_at":""},{"id":"66ab7dd8a5fda379924509d7","email":"java@mailersend.com","created_at":"2024-08-01T12:21:44.000000Z","updated_at":"2024-08-01T12:21:44.000000Z","deleted_at":""}],"links":{"first":"https:\/\/api.mailersend.com\/v1\/recipients?page=1","last":null,"prev":null,"next":"https:\/\/api.mailersend.com\/v1\/recipients?page=2"},"meta":{"current_page":1,"from":1,"path":"https:\/\/api.mailersend.com\/v1\/recipients","per_page":10,"to":10}}' recorded_at: Tue, 17 Dec 2024 10:56:08 GMT recorded_with: VCR 6.3.1 diff --git a/fixtures/recipients/recipients_single.yml b/fixtures/recipients/recipients_single.yml index 231715f..51f3811 100644 --- a/fixtures/recipients/recipients_single.yml +++ b/fixtures/recipients/recipients_single.yml @@ -46,6 +46,6 @@ http_interactions: - 8f3663c86d885b84-VIE body: encoding: UTF-8 - string: '{"data":{"id":"663cd8f984e4628b80b976a3","email":"39af28b9-edc8-4fd3-b4cb-9a7b49326d28@emailhook.site","created_at":"2024-05-09T14:08:57.000000Z","updated_at":"2024-05-09T14:08:57.000000Z","deleted_at":"","emails":[],"domain":{"id":"jpzkmgq7e5vl059v","name":"test-sdk.com","created_at":"2022-04-20T11:36:15.000000Z","updated_at":"2024-09-02T10:02:27.000000Z"}}}' + string: '{"data":{"id":"663cd8f984e4628b80b976a3","email":"39af28b9-edc8-4fd3-9a7b49326d28@emailhook.site","created_at":"2024-05-09T14:08:57.000000Z","updated_at":"2024-05-09T14:08:57.000000Z","deleted_at":"","emails":[],"domain":{"id":"jpzkmgq7e5vl059v","name":"test-sdk.com","created_at":"2022-04-20T11:36:15.000000Z","updated_at":"2024-09-02T10:02:27.000000Z"}}}' recorded_at: Tue, 17 Dec 2024 10:57:00 GMT recorded_with: VCR 6.3.1