Ghost/test/api-acceptance/admin
Naz 06dd9bac59 Refactored post resource Admin API test utils
refs https://github.com/TryGhost/Team/issues/687

- The approach of generating validation properties using `/server/data/schema` package's tables object is prone to leaking unwanted database fields into API responses
- This refactor takes a tiny step into direction of relying on "allowlist" approach for properties in the API response resources.
- Apart from solving the described property leak problem it also moves toward decoupling tests from `/core/server` dependencies!
2021-05-12 18:15:54 +04:00
..
actions_spec_v3.js Added acceptance tests on the v3 api version. 2021-01-22 17:49:06 +01:00
actions_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
config_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
db_spec.js Expanded requires of lib/common i18n and events 2021-05-03 17:14:52 +01:00
email_preview_spec.js Updated bson-objectid calls to match API change 2021-04-21 16:23:52 +01:00
emails_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
images_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
integrations_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
invites_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
key_authentication_spec_v3.js Added acceptance tests on the v3 api version. 2021-01-22 17:49:06 +01:00
key_authentication_spec.js Blocked requests from integrations when integration limit is in place 2021-04-10 00:45:26 +12:00
labels_spec_v3.js Added acceptance tests on the v3 api version. 2021-01-22 17:49:06 +01:00
labels_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
mail_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
members_spec.js Added support for gating content by member labels and products (#12946) 2021-05-10 19:32:11 +01:00
notifications_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
oembed_spec.js Changed URL protocol in oembed acceptance tests 2020-12-03 21:46:01 +00:00
pages_spec.js Updated fixtures for Ghost v4.0 2021-03-10 17:37:16 +00:00
posts_spec.js Added "emails" limit check when (re)sending a newsletter 2021-05-03 17:51:33 +04:00
roles_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
settings_spec.js Fixed __GHOST_URL__ appearing in settings values after edit (#12738) 2021-03-08 18:41:43 +00:00
slugs_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
snippets_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
tags_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
themes_spec.js 🐛 Fixed @price template data to work with price helper (#12764) 2021-03-18 16:13:10 +00:00
users_spec.js Refactored acceptance tests to use async-await 2020-12-03 08:47:01 +00:00
utils_v3.js Added status property to members (#12570) 2021-02-02 16:11:34 +00:00
utils.js Refactored post resource Admin API test utils 2021-05-12 18:15:54 +04:00
webhooks_spec.js Added a better error when a user try to create an orphaned webhook 2021-03-23 17:15:21 +01:00