Ghost/ghost/core/test/e2e-api/admin
Fabien "egg" O'Carroll 0d7f98f4d1 Supported adding/removing post to collection via Posts API
We've got some fairly simple diffing logic here to update the collections which
a post is in, the bulk of the changes here are to support the return of a DTO
rather than Bookshelf Model. This also helps improve the architecture because
we are step closer to removing infrastructure concerns (HTTP Response Headers)
from the business logic layer.

For now there is a crappy EventString which can be passed back to the
controller which can then handle any HTTP related concerns, although long term
these should be actual events like PostPublished or PostUpdated.
2023-06-16 09:28:19 +02:00
..
__snapshots__ Supported adding/removing post to collection via Posts API 2023-06-16 09:28:19 +02:00
actions.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
activity-feed.test.js Added Stripe Mocker to make testing easier (#16396) 2023-03-10 18:43:35 +01:00
collections.test.js Added full post data when returning collection's posts 2023-06-15 18:35:58 +07:00
config.test.js 💡 Upgraded Tenor API to v2 (#15087) 2022-08-05 12:13:27 +01:00
custom-theme-settings.test.js Prevent simple error logs by stubbing log library 2023-03-03 18:25:53 +00:00
db.test.js Removed all unused variables from test files 2023-03-10 14:29:55 +01:00
email-previews.test.js Added E2E test for sending email without post title 2023-03-14 16:05:18 +01:00
emails.test.js Removed all unused variables from test files 2023-03-10 14:29:55 +01:00
explore.test.js Added Content-Version header to all API requests 2023-01-18 08:38:07 +01:00
files.test.js Removed all unused variables from test files 2023-03-10 14:29:55 +01:00
images.test.js Removed all unused variables from test files 2023-03-10 14:29:55 +01:00
integrations.test.js Fixed self-serve api key type 2023-03-28 11:59:17 +02:00
invites.test.js Supported inviting users using an Admin API Integration 2023-05-08 15:27:15 -04:00
key-authentication.test.js Prevent simple error logs by stubbing log library 2023-03-03 18:25:53 +00:00
labels.test.js Prevent simple error logs by stubbing log library 2023-03-03 18:25:53 +00:00
links.test.js 🐛 Fixed post links being marked as edited when they were not (#16153) 2023-01-20 13:31:54 +01:00
media.test.js Removed all unused variables from test files 2023-03-10 14:29:55 +01:00
members-exporter.test.js Added Stripe Mocker to make testing easier (#16396) 2023-03-10 18:43:35 +01:00
members-importer.test.js Removed all unused variables from test files 2023-03-10 14:29:55 +01:00
members-newsletters.test.js Removed all unused variables from test files 2023-03-10 14:29:55 +01:00
members-stripe-connect.test.js Added Content-Version header to all API requests 2023-01-18 08:38:07 +01:00
members.test.js Cleaned up member attribution flag (#16745) 2023-05-05 15:04:14 +02:00
mentions.test.js Removed all unused variables from test files 2023-03-10 14:29:55 +01:00
newsletters.test.js Readded matchMetadataSnapshot 2023-05-03 14:14:10 +02:00
notifications.test.js Removed all unused variables from test files 2023-03-10 14:29:55 +01:00
oembed.test.js 🐛 Improved error message for unauthorized YouTube embeds (#16374) 2023-05-04 16:04:58 -07:00
offers.test.js Prevents errors from being logged during the offers tests 2023-03-03 18:25:53 +00:00
pages-bulk.test.js Added tests for pages bulk API 2023-04-27 15:06:19 +02:00
pages-legacy.test.js Moved serialisation of formats into the serialiser-layer 2023-06-16 09:17:47 +02:00
pages.test.js Implemented duplicate post functionality (#16767) 2023-05-15 09:30:32 +01:00
posts-bulk.test.js Added bulk post unpublishing test 2023-04-27 14:58:27 +02:00
posts-legacy.test.js Fixed flaky legacy posts api test (#16871) 2023-05-25 15:40:17 +01:00
posts.test.js Supported adding/removing post to collection via Posts API 2023-06-16 09:28:19 +02:00
rate-limiting.test.js Added Content-Version header to all API requests 2023-01-18 08:38:07 +01:00
redirects.test.js Improved performance of prepareContentFolder function 2022-08-01 08:58:13 +02:00
roles.test.js Added migrations for Self-Serve Migration Integration and API key 2023-03-24 11:28:29 +01:00
session.test.js Added Content-Version header to all API requests 2023-01-18 08:38:07 +01:00
settings-files.test.js Removed all unused variables from test files 2023-03-10 14:29:55 +01:00
settings.test.js Corrected announcement_visibility setting type 2023-04-21 10:18:50 +02:00
site.test.js Added Content-Version header to all API requests 2023-01-18 08:38:07 +01:00
slugs.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
snippets.test.js Added support for filtering snippets to mobiledoc/lexical (#16636) 2023-04-17 10:54:08 +04:00
stats.test.js Mocked mail to prevent errors in e2e test suite 2023-03-22 16:25:23 +00:00
tags.test.js Removed bluebird catch predicates from API endpoints 2022-08-24 11:27:09 +01:00
themes.test.js Added visible theme errors in admin (#16081) 2023-01-06 13:44:27 +01:00
tiers.test.js Removed all unused variables from test files 2023-03-10 14:29:55 +01:00
users.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00
utils.js Moved serialisation of formats into the serialiser-layer 2023-06-16 09:17:47 +02:00
webhooks.test.js Added Content-Version header to all API requests 2023-01-18 08:38:07 +01:00