diff --git a/ghost/core/core/server/api/endpoints/utils/serializers/output/members.js b/ghost/core/core/server/api/endpoints/utils/serializers/output/members.js index 055faececc..0dcb1da3e7 100644 --- a/ghost/core/core/server/api/endpoints/utils/serializers/output/members.js +++ b/ghost/core/core/server/api/endpoints/utils/serializers/output/members.js @@ -1,4 +1,5 @@ //@ts-check +const _ = require('lodash'); const debug = require('@tryghost/debug')('api:endpoints:utils:serializers:output:members'); const {unparse} = require('@tryghost/members-csv'); const mappers = require('./mappers'); @@ -113,6 +114,26 @@ function serializeAttribution(attribution) { }; } +function serializeNewsletter(newsletter) { + const newsletterFields = [ + 'id', + 'name', + 'description', + 'status' + ]; + + return _.pick(newsletter, newsletterFields); +} + +function serializeNewsletters(newsletters) { + return newsletters + .filter(newsletter => newsletter.status === 'active') + .sort((a, b) => { + return a.sort_order - b.sort_order; + }) + .map(newsletter => serializeNewsletter(newsletter)); +} + /** * @param {import('bookshelf').Model} member * @param {object} options @@ -174,11 +195,7 @@ function serializeMember(member, options) { serialized.email_suppression = json.email_suppression; if (json.newsletters) { - serialized.newsletters = json.newsletters - .filter(newsletter => newsletter.status === 'active') - .sort((a, b) => { - return a.sort_order - b.sort_order; - }); + serialized.newsletters = serializeNewsletters(json.newsletters); } // override the `subscribed` param to mean "subscribed to any active newsletter" serialized.subscribed = false; diff --git a/ghost/core/test/e2e-api/admin/__snapshots__/members-edit-subscriptions.test.js.snap b/ghost/core/test/e2e-api/admin/__snapshots__/members-edit-subscriptions.test.js.snap index 4d85648b0c..3fe4f3e0a5 100644 --- a/ghost/core/test/e2e-api/admin/__snapshots__/members-edit-subscriptions.test.js.snap +++ b/ghost/core/test/e2e-api/admin/__snapshots__/members-edit-subscriptions.test.js.snap @@ -385,7 +385,7 @@ exports[`Members API: edit subscriptions Can cancel a subscription for a member Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "4175", + "content-length": "3425", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -440,7 +440,7 @@ exports[`Members API: edit subscriptions Can cancel a subscription for a member Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "3275", + "content-length": "2525", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -495,7 +495,7 @@ exports[`Members API: edit subscriptions Can cancel a subscription for a member Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "4184", + "content-length": "3434", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -550,7 +550,7 @@ exports[`Members API: edit subscriptions Can cancel a subscription for a member Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "3284", + "content-length": "2534", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -850,7 +850,7 @@ exports[`Members API: edit subscriptions Can recover member products when we can Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "4217", + "content-length": "3467", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -905,7 +905,7 @@ exports[`Members API: edit subscriptions Can recover member products when we can Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "3317", + "content-length": "2567", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -960,7 +960,7 @@ exports[`Members API: edit subscriptions Can recover member products when we upd Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "4972", + "content-length": "4222", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -1015,7 +1015,7 @@ exports[`Members API: edit subscriptions Can update a subscription for a member Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "4951", + "content-length": "4201", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -1070,7 +1070,7 @@ exports[`Members API: edit subscriptions Can update a subscription for a member Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "4950", + "content-length": "4200", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, diff --git a/ghost/core/test/e2e-api/admin/__snapshots__/members-newsletters.test.js.snap b/ghost/core/test/e2e-api/admin/__snapshots__/members-newsletters.test.js.snap index cd5f37b75f..7896f4565e 100644 --- a/ghost/core/test/e2e-api/admin/__snapshots__/members-newsletters.test.js.snap +++ b/ghost/core/test/e2e-api/admin/__snapshots__/members-newsletters.test.js.snap @@ -251,7 +251,7 @@ exports[`Members API - With Newsletters - compat mode Can fetch members who are Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "13628", + "content-length": "7972", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -511,7 +511,7 @@ exports[`Members API - With Newsletters Can fetch members who are subscribed 2: Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "13628", + "content-length": "7972", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, diff --git a/ghost/core/test/e2e-api/admin/__snapshots__/members.test.js.snap b/ghost/core/test/e2e-api/admin/__snapshots__/members.test.js.snap index 468f8d8a9c..e1519fecfd 100644 --- a/ghost/core/test/e2e-api/admin/__snapshots__/members.test.js.snap +++ b/ghost/core/test/e2e-api/admin/__snapshots__/members.test.js.snap @@ -31,72 +31,16 @@ Object { "name": null, "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "sans_serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Default Newsletter", - "sender_email": null, - "sender_name": null, - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "default-newsletter", - "sort_order": 0, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "sans_serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Weekly newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "weekly-newsletter", - "sort_order": 2, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -115,7 +59,7 @@ exports[`Members API - member attribution Can read member attributed to a page 2 Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "2486", + "content-length": "928", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -155,72 +99,16 @@ Object { "name": null, "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "sans_serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Default Newsletter", - "sender_email": null, - "sender_name": null, - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "default-newsletter", - "sort_order": 0, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "sans_serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Weekly newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "weekly-newsletter", - "sort_order": 2, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -239,7 +127,7 @@ exports[`Members API - member attribution Can read member attributed to a post 2 Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "2469", + "content-length": "911", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -279,72 +167,16 @@ Object { "name": null, "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "sans_serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Default Newsletter", - "sender_email": null, - "sender_name": null, - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "default-newsletter", - "sort_order": 0, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "sans_serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Weekly newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "weekly-newsletter", - "sort_order": 2, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -363,7 +195,7 @@ exports[`Members API - member attribution Can read member attributed to a tag 2: Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "2475", + "content-length": "917", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -403,72 +235,16 @@ Object { "name": null, "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "sans_serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Default Newsletter", - "sender_email": null, - "sender_name": null, - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "default-newsletter", - "sort_order": 0, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "sans_serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Weekly newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "weekly-newsletter", - "sort_order": 2, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -487,7 +263,7 @@ exports[`Members API - member attribution Can read member attributed to an autho Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "2457", + "content-length": "899", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -527,72 +303,16 @@ Object { "name": null, "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "sans_serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Default Newsletter", - "sender_email": null, - "sender_name": null, - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "default-newsletter", - "sort_order": 0, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "sans_serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Weekly newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "weekly-newsletter", - "sort_order": 2, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -611,7 +331,7 @@ exports[`Members API - member attribution Can read member attributed to an url 2 Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "2453", + "content-length": "895", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -788,38 +508,10 @@ Object { "name": "test newsletter", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Daily newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "daily-newsletter", - "sort_order": 1, "status": "active", - "subscribe_on_signup": false, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -838,7 +530,7 @@ exports[`Members API Adding newsletters to member with no subscriptions works ev Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "1596", + "content-length": "788", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -1186,72 +878,16 @@ Object { "name": "pass verification", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "sans_serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Default Newsletter", - "sender_email": null, - "sender_name": null, - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "default-newsletter", - "sort_order": 0, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "sans_serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Weekly newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "weekly-newsletter", - "sort_order": 2, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -1270,7 +906,7 @@ exports[`Members API Can add a member and trigger host email verification limits Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "2441", + "content-length": "883", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -1311,72 +947,16 @@ Object { "name": "fail verification", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "sans_serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Default Newsletter", - "sender_email": null, - "sender_name": null, - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "default-newsletter", - "sort_order": 0, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "sans_serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Weekly newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "weekly-newsletter", - "sort_order": 2, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -1395,7 +975,7 @@ exports[`Members API Can add a member and trigger host email verification limits Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "2441", + "content-length": "883", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -1492,38 +1072,10 @@ Object { "name": "Mr Egg", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Daily newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "daily-newsletter", - "sort_order": 1, "status": "active", - "subscribe_on_signup": false, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -1629,7 +1181,7 @@ exports[`Members API Can add a subscription 2: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "3544", + "content-length": "2736", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -1669,38 +1221,10 @@ Object { "name": "Mr Egg", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Daily newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "daily-newsletter", - "sort_order": 1, "status": "active", - "subscribe_on_signup": false, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -1806,7 +1330,7 @@ exports[`Members API Can add a subscription 4: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "3544", + "content-length": "2736", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -1846,38 +1370,10 @@ Object { "name": "test newsletter", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Weekly newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "weekly-newsletter", - "sort_order": 2, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": "test note", @@ -1896,7 +1392,7 @@ exports[`Members API Can add and edit with custom newsletters 2: [headers] 1`] = Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "1752", + "content-length": "944", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -1937,38 +1433,10 @@ Object { "name": "test newsletter", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Daily newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "daily-newsletter", - "sort_order": 1, "status": "active", - "subscribe_on_signup": false, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": "test note", @@ -1987,7 +1455,7 @@ exports[`Members API Can add and edit with custom newsletters 4: [headers] 1`] = Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "1751", + "content-length": "943", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -2027,72 +1495,16 @@ Object { "name": "Send Me Confirmation", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "sans_serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Default Newsletter", - "sender_email": null, - "sender_name": null, - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "default-newsletter", - "sort_order": 0, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "sans_serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Weekly newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "weekly-newsletter", - "sort_order": 2, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -2111,7 +1523,7 @@ exports[`Members API Can add and send a signup confirmation email (old) 2: [head Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "2453", + "content-length": "895", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -2163,72 +1575,16 @@ Object { "name": "Send Me Confirmation", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "sans_serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Default Newsletter", - "sender_email": null, - "sender_name": null, - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "default-newsletter", - "sort_order": 0, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "sans_serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Daily newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "daily-newsletter", - "sort_order": 1, "status": "active", - "subscribe_on_signup": false, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -2247,7 +1603,7 @@ exports[`Members API Can add and send a signup confirmation email 2: [headers] 1 Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "2448", + "content-length": "890", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -2503,38 +1859,10 @@ Object { "name": "Name", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "sans_serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Default Newsletter", - "sender_email": null, - "sender_name": null, - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "default-newsletter", - "sort_order": 0, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "sans_serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -2553,7 +1881,7 @@ exports[`Members API Can add complimentary subscription (out of date) 2: [header Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "1510", + "content-length": "760", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -2594,38 +1922,10 @@ Object { "name": "Name", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "sans_serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Default Newsletter", - "sender_email": null, - "sender_name": null, - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "default-newsletter", - "sort_order": 0, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "sans_serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -2664,7 +1964,7 @@ exports[`Members API Can add complimentary subscription (out of date) 4: [header Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "3269", + "content-length": "2519", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -2745,38 +2045,10 @@ Object { "name": "Winston Zeddemore", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Weekly newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "weekly-newsletter", - "sort_order": 2, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -2805,72 +2077,16 @@ Object { "name": "Vinz Clortho", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Daily newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "daily-newsletter", - "sort_order": 1, "status": "active", - "subscribe_on_signup": false, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Weekly newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "weekly-newsletter", - "sort_order": 2, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -2899,38 +2115,10 @@ Object { "name": "Ray Stantz", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Weekly newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "weekly-newsletter", - "sort_order": 2, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -2959,38 +2147,10 @@ Object { "name": "Egon Spengler", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Daily newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "daily-newsletter", - "sort_order": 1, "status": "active", - "subscribe_on_signup": false, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -3019,38 +2179,10 @@ Object { "name": null, "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Daily newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "daily-newsletter", - "sort_order": 1, "status": "active", - "subscribe_on_signup": false, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -3079,38 +2211,10 @@ Object { "name": "Mr Egg", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Daily newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "daily-newsletter", - "sort_order": 1, "status": "active", - "subscribe_on_signup": false, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -3138,7 +2242,7 @@ exports[`Members API Can browse 2: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "15778", + "content-length": "10122", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -3169,38 +2273,10 @@ Object { "name": "Mr Egg", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Daily newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "daily-newsletter", - "sort_order": 1, "status": "active", - "subscribe_on_signup": false, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -3228,7 +2304,7 @@ exports[`Members API Can browse with filter 2: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "1638", + "content-length": "830", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -3259,38 +2335,10 @@ Object { "name": "Mr Egg", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Daily newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "daily-newsletter", - "sort_order": 1, "status": "active", - "subscribe_on_signup": false, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -3318,7 +2366,7 @@ exports[`Members API Can browse with search 2: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "1638", + "content-length": "830", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -3358,38 +2406,10 @@ Object { "name": "Test Member", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "sans_serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Default Newsletter", - "sender_email": null, - "sender_name": null, - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "default-newsletter", - "sort_order": 0, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "sans_serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -3428,7 +2448,7 @@ exports[`Members API Can create a member with an existing complimentary subscrip Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "3320", + "content-length": "2570", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -3469,38 +2489,10 @@ Object { "name": "Test Member", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "sans_serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Default Newsletter", - "sender_email": null, - "sender_name": null, - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "default-newsletter", - "sort_order": 0, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "sans_serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -3539,7 +2531,7 @@ exports[`Members API Can create a member with an existing paid subscription 2: [ Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "3306", + "content-length": "2556", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -3580,38 +2572,10 @@ Object { "name": "Name", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "sans_serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Default Newsletter", - "sender_email": null, - "sender_name": null, - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "default-newsletter", - "sort_order": 0, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "sans_serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -3650,7 +2614,7 @@ exports[`Members API Can create a new member with a product (complimentary) 2: [ Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "2968", + "content-length": "2218", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -3713,72 +2677,16 @@ Object { "name": "test", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "sans_serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Default Newsletter", - "sender_email": null, - "sender_name": null, - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "default-newsletter", - "sort_order": 0, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "sans_serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Weekly newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "weekly-newsletter", - "sort_order": 2, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -3797,7 +2705,7 @@ exports[`Members API Can destroy 2: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "2423", + "content-length": "865", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -3880,38 +2788,10 @@ Object { "name": "change me", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "sans_serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Default Newsletter", - "sender_email": null, - "sender_name": null, - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "default-newsletter", - "sort_order": 0, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "sans_serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": "initial note", @@ -3930,7 +2810,7 @@ exports[`Members API Can edit by id 2: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "1528", + "content-length": "778", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -4123,72 +3003,16 @@ Object { "name": "Vinz Clortho", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Daily newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "daily-newsletter", - "sort_order": 1, "status": "active", - "subscribe_on_signup": false, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Weekly newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "weekly-newsletter", - "sort_order": 2, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -4217,38 +3041,10 @@ Object { "name": "Ray Stantz", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Weekly newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "weekly-newsletter", - "sort_order": 2, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -4277,38 +3073,10 @@ Object { "name": "Egon Spengler", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Daily newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "daily-newsletter", - "sort_order": 1, "status": "active", - "subscribe_on_signup": false, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -4336,7 +3104,7 @@ exports[`Members API Can filter by paid status 2: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "11320", + "content-length": "8088", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -4392,38 +3160,10 @@ Object { "name": "Ray Stantz", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Weekly newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "weekly-newsletter", - "sort_order": 2, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -4452,38 +3192,10 @@ Object { "name": "Mr Egg", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Daily newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "daily-newsletter", - "sort_order": 1, "status": "active", - "subscribe_on_signup": false, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -4511,7 +3223,7 @@ exports[`Members API Can filter by signup attribution 2: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "4995", + "content-length": "3379", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -4542,38 +3254,10 @@ Object { "name": "Mr Egg", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Daily newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "daily-newsletter", - "sort_order": 1, "status": "active", - "subscribe_on_signup": false, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -4601,7 +3285,7 @@ exports[`Members API Can filter by signup attribution 4: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "1638", + "content-length": "830", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -4657,72 +3341,16 @@ Object { "name": "Vinz Clortho", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Daily newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "daily-newsletter", - "sort_order": 1, "status": "active", - "subscribe_on_signup": false, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Weekly newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "weekly-newsletter", - "sort_order": 2, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -4751,38 +3379,10 @@ Object { "name": "Ray Stantz", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Weekly newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "weekly-newsletter", - "sort_order": 2, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -4811,38 +3411,10 @@ Object { "name": "Egon Spengler", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Daily newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "daily-newsletter", - "sort_order": 1, "status": "active", - "subscribe_on_signup": false, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -4870,7 +3442,7 @@ exports[`Members API Can filter by tier id 2: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "10686", + "content-length": "7454", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -4901,72 +3473,16 @@ Object { "name": "create me", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "sans_serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Default Newsletter", - "sender_email": null, - "sender_name": null, - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "default-newsletter", - "sort_order": 0, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "sans_serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Weekly newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "weekly-newsletter", - "sort_order": 2, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -4995,38 +3511,10 @@ Object { "name": "Winston Zeddemore", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Weekly newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "weekly-newsletter", - "sort_order": 2, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -5055,72 +3543,16 @@ Object { "name": "Vinz Clortho", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Daily newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "daily-newsletter", - "sort_order": 1, "status": "active", - "subscribe_on_signup": false, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Weekly newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "weekly-newsletter", - "sort_order": 2, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -5148,7 +3580,7 @@ exports[`Members API Can filter on newsletter slug 2: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "7515", + "content-length": "3533", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -5179,38 +3611,10 @@ Object { "name": "Test Member", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "sans_serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Default Newsletter", - "sender_email": null, - "sender_name": null, - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "default-newsletter", - "sort_order": 0, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "sans_serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -5260,38 +3664,10 @@ Object { "name": "Test Member", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "sans_serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Default Newsletter", - "sender_email": null, - "sender_name": null, - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "default-newsletter", - "sort_order": 0, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "sans_serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -5341,38 +3717,10 @@ Object { "name": "Name", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "sans_serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Default Newsletter", - "sender_email": null, - "sender_name": null, - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "default-newsletter", - "sort_order": 0, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "sans_serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -5422,38 +3770,10 @@ Object { "name": "Name", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "sans_serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Default Newsletter", - "sender_email": null, - "sender_name": null, - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "default-newsletter", - "sort_order": 0, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "sans_serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -5503,38 +3823,10 @@ Object { "name": "Name", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "sans_serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Default Newsletter", - "sender_email": null, - "sender_name": null, - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "default-newsletter", - "sort_order": 0, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "sans_serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -5630,72 +3922,16 @@ Object { "name": "Vinz Clortho", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Daily newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "daily-newsletter", - "sort_order": 1, "status": "active", - "subscribe_on_signup": false, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Weekly newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "weekly-newsletter", - "sort_order": 2, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -5745,38 +3981,10 @@ Object { "name": "Mr Egg", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Daily newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "daily-newsletter", - "sort_order": 1, "status": "active", - "subscribe_on_signup": false, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -5825,7 +4033,7 @@ exports[`Members API Can filter on tier slug 2: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "23956", + "content-length": "17782", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -5961,72 +4169,16 @@ Object { "name": "Vinz Clortho", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Daily newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "daily-newsletter", - "sort_order": 1, "status": "active", - "subscribe_on_signup": false, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Weekly newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "weekly-newsletter", - "sort_order": 2, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -6055,38 +4207,10 @@ Object { "name": "Ray Stantz", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Weekly newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "weekly-newsletter", - "sort_order": 2, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -6115,38 +4239,10 @@ Object { "name": "Egon Spengler", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Daily newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "daily-newsletter", - "sort_order": 1, "status": "active", - "subscribe_on_signup": false, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -6174,7 +4270,7 @@ exports[`Members API Can ignore any unknown includes 2: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "11320", + "content-length": "8088", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -6205,38 +4301,10 @@ Object { "name": "Egon Spengler", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Daily newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "daily-newsletter", - "sort_order": 1, "status": "active", - "subscribe_on_signup": false, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -6265,38 +4333,10 @@ Object { "name": null, "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Daily newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "daily-newsletter", - "sort_order": 1, "status": "active", - "subscribe_on_signup": false, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -6325,38 +4365,10 @@ Object { "name": "Mr Egg", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Daily newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "daily-newsletter", - "sort_order": 1, "status": "active", - "subscribe_on_signup": false, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -6385,38 +4397,10 @@ Object { "name": "Ray Stantz", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Weekly newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "weekly-newsletter", - "sort_order": 2, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -6445,72 +4429,16 @@ Object { "name": "Vinz Clortho", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Daily newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "daily-newsletter", - "sort_order": 1, "status": "active", - "subscribe_on_signup": false, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Weekly newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "weekly-newsletter", - "sort_order": 2, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -6539,38 +4467,10 @@ Object { "name": "Winston Zeddemore", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Weekly newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "weekly-newsletter", - "sort_order": 2, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -6679,38 +4579,10 @@ Object { "name": null, "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Daily newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "daily-newsletter", - "sort_order": 1, "status": "active", - "subscribe_on_signup": false, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -6739,38 +4611,10 @@ Object { "name": "Egon Spengler", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Daily newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "daily-newsletter", - "sort_order": 1, "status": "active", - "subscribe_on_signup": false, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -6799,38 +4643,10 @@ Object { "name": "Mr Egg", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Daily newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "daily-newsletter", - "sort_order": 1, "status": "active", - "subscribe_on_signup": false, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -6859,38 +4675,10 @@ Object { "name": "Ray Stantz", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Weekly newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "weekly-newsletter", - "sort_order": 2, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -6919,72 +4707,16 @@ Object { "name": "Vinz Clortho", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Daily newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "daily-newsletter", - "sort_order": 1, "status": "active", - "subscribe_on_signup": false, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Weekly newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "weekly-newsletter", - "sort_order": 2, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -7013,38 +4745,10 @@ Object { "name": "Winston Zeddemore", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Weekly newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "weekly-newsletter", - "sort_order": 2, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -7162,38 +4866,10 @@ Object { "name": "Mr Egg", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Daily newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "daily-newsletter", - "sort_order": 1, "status": "active", - "subscribe_on_signup": false, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -7212,7 +4888,7 @@ exports[`Members API Can read 2: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "1778", + "content-length": "970", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -7253,38 +4929,10 @@ Object { "name": "Mr Egg", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Daily newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "daily-newsletter", - "sort_order": 1, "status": "active", - "subscribe_on_signup": false, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -7303,7 +4951,7 @@ exports[`Members API Can read and include email_recipients 2: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "1800", + "content-length": "992", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -7343,38 +4991,10 @@ Object { "name": "Mr Egg", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Daily newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "daily-newsletter", - "sort_order": 1, "status": "active", - "subscribe_on_signup": false, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -7393,7 +5013,7 @@ exports[`Members API Can read and include tiers 2: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "1778", + "content-length": "970", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -7489,72 +5109,16 @@ Object { "name": "change me", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "sans_serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Default Newsletter", - "sender_email": null, - "sender_name": null, - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "default-newsletter", - "sort_order": 0, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "sans_serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Weekly newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "weekly-newsletter", - "sort_order": 2, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": "initial note", @@ -7573,7 +5137,7 @@ exports[`Members API Can subscribe by setting (old) subscribed property to true Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "2437", + "content-length": "879", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -7613,38 +5177,10 @@ Object { "name": "change me", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "sans_serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Default Newsletter", - "sender_email": null, - "sender_name": null, - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "default-newsletter", - "sort_order": 0, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "sans_serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -7663,7 +5199,7 @@ exports[`Members API Can subscribe to a newsletter 2: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "1518", + "content-length": "768", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -7704,38 +5240,10 @@ Object { "name": "change me", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Daily newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "daily-newsletter", - "sort_order": 1, "status": "active", - "subscribe_on_signup": false, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -7754,7 +5262,7 @@ exports[`Members API Can subscribe to a newsletter 4: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "1574", + "content-length": "766", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -7807,38 +5315,10 @@ Object { "name": "change me", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "sans_serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Default Newsletter", - "sender_email": null, - "sender_name": null, - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "default-newsletter", - "sort_order": 0, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "sans_serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": "initial note", @@ -7857,7 +5337,7 @@ exports[`Members API Can unsubscribe by setting (old) subscribed property to fal Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "1536", + "content-length": "786", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -8068,38 +5548,10 @@ Object { "name": null, "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Daily newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "daily-newsletter", - "sort_order": 1, "status": "active", - "subscribe_on_signup": false, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -8127,7 +5579,7 @@ exports[`Members API Search by case-insensitive email MEMBER2 receives member wi Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "1485", + "content-length": "677", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -8158,38 +5610,10 @@ Object { "name": "Mr Egg", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Daily newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "daily-newsletter", - "sort_order": 1, "status": "active", - "subscribe_on_signup": false, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -8217,7 +5641,7 @@ exports[`Members API Search by case-insensitive name egg receives member with na Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "1638", + "content-length": "830", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -8277,38 +5701,10 @@ Object { "name": "Egon Spengler", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Daily newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "daily-newsletter", - "sort_order": 1, "status": "active", - "subscribe_on_signup": false, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -8336,7 +5732,7 @@ exports[`Members API Search for paid members retrieves member with email paid@te Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "2819", + "content-length": "2011", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -8376,72 +5772,16 @@ Object { "name": "test newsletter", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Daily newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "daily-newsletter", - "sort_order": 1, "status": "active", - "subscribe_on_signup": false, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Weekly newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "weekly-newsletter", - "sort_order": 2, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -8460,7 +5800,7 @@ exports[`Members API Setting subscribed when editing a member won't reset to def Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "2508", + "content-length": "892", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -8501,72 +5841,16 @@ Object { "name": "test newsletter", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Daily newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "daily-newsletter", - "sort_order": 1, "status": "active", - "subscribe_on_signup": false, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Weekly newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "weekly-newsletter", - "sort_order": 2, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -8585,7 +5869,7 @@ exports[`Members API Setting subscribed when editing a member won't reset to def Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "2508", + "content-length": "892", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -8625,72 +5909,16 @@ Object { "name": "create me", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "sans_serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Default Newsletter", - "sender_email": null, - "sender_name": null, - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "default-newsletter", - "sort_order": 0, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "sans_serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Weekly newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "weekly-newsletter", - "sort_order": 2, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -8709,7 +5937,7 @@ exports[`Members API Subscribes to default newsletters 2: [headers] 1`] = ` Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "2424", + "content-length": "866", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -8750,38 +5978,10 @@ Object { "name": "new name", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": "http://127.0.0.1:2369/content/images/2022/05/test.jpg", "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Weekly newsletter", - "sender_email": "jamie@example.com", - "sender_name": "Jamie", - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "weekly-newsletter", - "sort_order": 2, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": null, @@ -8800,7 +6000,7 @@ exports[`Members API Updating member data without newsletters does not change ne Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "1757", + "content-length": "949", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, diff --git a/ghost/core/test/e2e-api/admin/members.test.js b/ghost/core/test/e2e-api/admin/members.test.js index a31af187de..72c4caac3d 100644 --- a/ghost/core/test/e2e-api/admin/members.test.js +++ b/ghost/core/test/e2e-api/admin/members.test.js @@ -67,10 +67,7 @@ async function getNewsletters() { } const newsletterSnapshot = { - id: anyObjectId, - uuid: anyUuid, - created_at: anyISODateTime, - updated_at: anyISODateTime + id: anyObjectId }; const attributionSnapshot = { diff --git a/ghost/core/test/e2e-api/members/__snapshots__/webhooks.test.js.snap b/ghost/core/test/e2e-api/members/__snapshots__/webhooks.test.js.snap index 47222a9c7a..44d580bd0e 100644 --- a/ghost/core/test/e2e-api/members/__snapshots__/webhooks.test.js.snap +++ b/ghost/core/test/e2e-api/members/__snapshots__/webhooks.test.js.snap @@ -38,7 +38,7 @@ exports[`Members API Member attribution Creates a SubscriptionCreatedEvent with Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "3300", + "content-length": "2550", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -85,7 +85,7 @@ exports[`Members API Member attribution Creates a SubscriptionCreatedEvent with Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "3314", + "content-length": "2564", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -132,7 +132,7 @@ exports[`Members API Member attribution Creates a SubscriptionCreatedEvent with Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "3202", + "content-length": "2452", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -179,7 +179,7 @@ exports[`Members API Member attribution Creates a SubscriptionCreatedEvent with Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "3362", + "content-length": "2612", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -226,7 +226,7 @@ exports[`Members API Member attribution Creates a SubscriptionCreatedEvent with Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "3328", + "content-length": "2578", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -273,7 +273,7 @@ exports[`Members API Member attribution Creates a SubscriptionCreatedEvent with Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "3342", + "content-length": "2592", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -320,7 +320,7 @@ exports[`Members API Member attribution Creates a SubscriptionCreatedEvent with Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "3256", + "content-length": "2506", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, @@ -367,7 +367,7 @@ exports[`Members API Member attribution Creates a SubscriptionCreatedEvent witho Object { "access-control-allow-origin": "http://127.0.0.1:2369", "cache-control": "no-cache, private, no-store, must-revalidate, max-stale=0, post-check=0, pre-check=0", - "content-length": "3202", + "content-length": "2452", "content-type": "application/json; charset=utf-8", "content-version": StringMatching /v\\\\d\\+\\\\\\.\\\\d\\+/, "etag": StringMatching /\\(\\?:W\\\\/\\)\\?"\\(\\?:\\[ !#-\\\\x7E\\\\x80-\\\\xFF\\]\\*\\|\\\\r\\\\n\\[\\\\t \\]\\|\\\\\\\\\\.\\)\\*"/, diff --git a/ghost/core/test/e2e-webhooks/__snapshots__/members.test.js.snap b/ghost/core/test/e2e-webhooks/__snapshots__/members.test.js.snap index bbce7e885d..f8d0b03b79 100644 --- a/ghost/core/test/e2e-webhooks/__snapshots__/members.test.js.snap +++ b/ghost/core/test/e2e-webhooks/__snapshots__/members.test.js.snap @@ -27,38 +27,10 @@ Object { "name": "Test Member", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "sans_serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Default Newsletter", - "sender_email": null, - "sender_name": null, - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "default-newsletter", - "sort_order": 0, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "sans_serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": "test note", @@ -100,38 +72,10 @@ Object { "name": "Test Member2", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "sans_serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Default Newsletter", - "sender_email": null, - "sender_name": null, - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "default-newsletter", - "sort_order": 0, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "sans_serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": "test note2", @@ -171,38 +115,10 @@ Object { "name": "Ghost", "newsletters": Array [ Object { - "background_color": "light", - "body_font_category": "sans_serif", - "border_color": null, - "created_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, "description": null, - "feedback_enabled": false, - "footer_content": null, - "header_image": null, "id": StringMatching /\\[a-f0-9\\]\\{24\\}/, "name": "Default Newsletter", - "sender_email": null, - "sender_name": null, - "sender_reply_to": "newsletter", - "show_badge": true, - "show_comment_cta": true, - "show_feature_image": true, - "show_header_icon": true, - "show_header_name": true, - "show_header_title": true, - "show_latest_posts": false, - "show_post_title_section": true, - "show_subscription_details": false, - "slug": "default-newsletter", - "sort_order": 0, "status": "active", - "subscribe_on_signup": true, - "title_alignment": "center", - "title_color": null, - "title_font_category": "sans_serif", - "updated_at": StringMatching /\\\\d\\{4\\}-\\\\d\\{2\\}-\\\\d\\{2\\}T\\\\d\\{2\\}:\\\\d\\{2\\}:\\\\d\\{2\\}\\\\\\.000Z/, - "uuid": StringMatching /\\[a-f0-9\\]\\{8\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{4\\}-\\[a-f0-9\\]\\{12\\}/, - "visibility": "members", }, ], "note": "test note3", diff --git a/ghost/core/test/e2e-webhooks/members.test.js b/ghost/core/test/e2e-webhooks/members.test.js index 63a53c509e..3578bbe818 100644 --- a/ghost/core/test/e2e-webhooks/members.test.js +++ b/ghost/core/test/e2e-webhooks/members.test.js @@ -3,10 +3,7 @@ const {anyGhostAgent, anyObjectId, anyISODateTime, anyUuid, anyContentVersion, a const buildNewsletterSnapshot = () => { const newsLetterSnapshot = { - id: anyObjectId, - uuid: anyUuid, - created_at: anyISODateTime, - updated_at: anyISODateTime + id: anyObjectId }; return newsLetterSnapshot;