Ghost/test/regression/api/admin
Simon Backx 21d9d20e3e
Included newsletter relation by default in posts (#14723)
refs https://github.com/TryGhost/Team/issues/1569

**Changes in admin-api-schema:**
- https://github.com/TryGhost/SDK/compare/%40tryghost/admin-api-schema%402.14.1...%40tryghost/admin-api-schema%402.15.0
- Ignore `newsletter` when used in input

**Changes**
- Added the `newsletter` relation as a default include for posts
- Removed the newsletter_id from the API output

**Tests**
- Test the newsletter relation is always loaded for browse, read, add and edit, unless the include option is added explicitly

Co-authored-by: Matt Hanley <git@matthanley.co.uk>
2022-05-09 11:06:59 +02:00
..
__snapshots__ Update dependency @tryghost/mw-error-handler to v1 (#14719) 2022-05-07 15:28:28 +01:00
authentication.test.js Renamed reset_all_passwords Authentication API endpoint to /global_password_reset 2022-04-28 15:37:11 +01:00
db.test.js Aliased canary endpoints to point to non-versioned URLs 2022-03-14 21:22:54 +13:00
identities.test.js Removed canary folder from regression tests 2022-02-06 18:02:56 +00:00
images.test.js Removed canary folder from regression tests 2022-02-06 18:02:56 +00:00
members-importer.test.js Updated all members tests to use mockManager 2022-02-10 12:21:05 +00:00
members-signin-url.test.js Fixed filename casing in canary API 2022-03-24 17:25:53 +00:00
notifications.test.js Removed canary folder from regression tests 2022-02-06 18:02:56 +00:00
pages.test.js Removed canary folder from regression tests 2022-02-06 18:02:56 +00:00
posts.test.js Update dependency @tryghost/mw-error-handler to v1 (#14719) 2022-05-07 15:28:28 +01:00
redirects.test.js Removed canary folder from regression tests 2022-02-06 18:02:56 +00:00
schedules.test.js Aliased canary endpoints to point to non-versioned URLs 2022-03-14 21:22:54 +13:00
settings.test.js Update dependency @tryghost/mw-error-handler to v1 (#14719) 2022-05-07 15:28:28 +01:00
slack.test.js Removed canary folder from regression tests 2022-02-06 18:02:56 +00:00
users.test.js Update dependency @tryghost/mw-error-handler to v1 (#14719) 2022-05-07 15:28:28 +01:00
utils.js Included newsletter relation by default in posts (#14723) 2022-05-09 11:06:59 +02:00
webhooks.test.js Aliased canary endpoints to point to non-versioned URLs 2022-03-14 21:22:54 +13:00