Ghost/ghost/core/test/e2e-api/members
Naz e73b16979f Trimmed down Members Admin API response data
refs https://github.com/TryGhost/Arch/issues/87

- The Members Admin API and members.* webhooks were returning too many fields in the nested `newsletters` objects. There was no "allowlist" serializer for the newsletter object, which meant every time we add a new field to the database we would unintentionally return extra fields without a second thought.
- With this change only following fields will be returned with `members[x].newsletters[x]`:
'id',
'name',
'description',
'status'
2023-09-13 13:18:43 +08:00
..
__snapshots__ Trimmed down Members Admin API response data 2023-09-13 13:18:43 +08:00
announcement.test.js Moved announcement bar settings to Frontend Members API 2023-04-27 14:01:36 +02:00
create-stripe-checkout-session.test.js Added Stripe Mocker to make testing easier (#16396) 2023-03-10 18:43:35 +01:00
donation-checkout-session.test.js Added E2E tests for donations API (#17694) 2023-08-11 14:25:53 +02:00
feedback.test.js Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
middleware.test.js Retain newsletter subscriptions on suppression (#17373) 2023-07-24 10:47:57 +01:00
send-magic-link.test.js Added DomainEvents.allSettled utility method (#16075) 2023-01-04 14:30:35 +01:00
signin.test.js Updated to use assert/strict everywhere (#17047) 2023-06-21 09:56:59 +01:00
webhooks.test.js Revert "Added support for importing Stripe Coupons as Offers (#17415)" (#17915) 2023-09-01 09:49:29 +02:00
well-known.test.js Removed all unused variables from test files 2023-03-10 14:29:55 +01:00