0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/test/e2e-api/admin
Simon Backx c32b1baa9b
Added support for publishing email only posts by setting status to sent (#14950)
no issue

If you try to publish a draft email only post by setting the status to sent, you won't receive an error but the email won't get sent. This is because we don't support this behaviour. This is very counter-intuitive when writing the documentation, so I've patched this behaviour and added some more tests.
- When setting the status to `sent` for not email only posts, the post status will be set to `published` without warning
- Also published_by was not set correctly in the past. This is also fixed and has new tests.
2022-06-01 14:53:55 +02:00
..
__snapshots__ Added integration test for MEGA.sendEmailJob (#14944) 2022-05-30 15:41:02 +02:00
actions.test.js
config.test.js
custom-theme-settings.test.js
db.test.js
email-previews.test.js Added newsletter param to email preview endpoint (#14820) 2022-05-16 12:15:54 +01:00
emails.test.js
files.test.js
images.test.js
integrations.test.js
invites.test.js
key-authentication.test.js
labels.test.js
media.test.js
members-exporter.test.js 🐛 Fixed member exports timing out for large sites (#14876) (#14878) 2022-05-20 21:25:23 +01:00
members-importer.test.js Fixed bulk unsubscribe counts (#14871) 2022-05-20 13:40:55 +02:00
members-newsletters.test.js Fixed mockLabs disabling all other flags (#14621) 2022-04-28 10:55:20 +02:00
members-stripe-connect.test.js
members.test.js Fixed bulk unsubscribe counts (#14871) 2022-05-20 13:40:55 +02:00
newsletters.test.js Fixed error in newsletter editing limit checks (#14817) 2022-05-13 10:15:35 +02:00
notifications.test.js
oembed.test.js
offers.test.js
pages.test.js Replaced Products with Tiers API endpoints 2022-05-12 19:59:57 +01:00
posts.test.js Added support for publishing email only posts by setting status to sent (#14950) 2022-06-01 14:53:55 +02:00
redirects.test.js
roles.test.js
session.test.js Swapped etag matcher to always be anyEtag 2022-05-02 11:05:07 +01:00
settings-files.test.js
settings.test.js 🎨 Reduced favicon requirements and added image formatting (#14918) 2022-05-27 16:36:53 +02:00
site.test.js Updated test suites to play nicely with 5.0 2022-05-19 14:19:48 +08:00
slugs.test.js
snippets.test.js
stats.test.js Added /stats/subscriptions API (#14547) 2022-04-27 14:53:32 +01:00
tags.test.js
themes.test.js
tiers.test.js Updated Tiers API data structure (#14795) 2022-05-16 19:47:18 +01:00
users.test.js 🐛 Fixed invalid user role assignment 2022-06-01 17:48:08 +08:00
utils.js Renamed newsletter_id and email_recipient_filter options (#14798) 2022-05-16 10:18:04 +02:00
webhooks.test.js Removed subscriber-related webhook fixtures 2022-05-26 14:45:36 +08:00