0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/test/regression/api/canary/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
..
authentication_spec.js Improved error messaging for password reset process 2020-09-22 15:45:19 +12:00
db_spec.js Expanded requires of lib/common i18n and events 2021-05-03 17:14:52 +01:00
identities_spec.js Updated tests to reflect jwks-rsa v2 changes 2021-04-16 09:58:47 +01:00
images_spec.js
labels_spec.js
members_signin_url_spec.js Granted Admin users ability to impersonate member (#12132) 2020-08-18 14:17:56 +05:30
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
pages_spec.js
posts_spec.js Added ability to send a newsletter to members with a certain label or product (#12932) 2021-05-07 11:56:41 +01:00
redirects_spec.js Fixed broken tests from previous commit 2021-03-17 16:18:48 +01:00
schedules_spec.js
settings_spec.js Added settings for members 'free' price 2021-05-07 16:32:12 +01:00
site_spec.js Added regression tests for Admin API /site endpoints 2021-03-09 22:10:27 +13:00
slack_spec.js Expanded requires of lib/common i18n and events 2021-05-03 17:14:52 +01:00
users_spec.js Updated bson-objectid calls to match API change 2021-04-21 16:23:52 +01:00
utils.js Refactored post resource Admin API test utils 2021-05-12 18:15:54 +04:00
webhooks_spec.js Fixed fixture creation order in webhooks tests 2021-03-04 10:56:58 +01:00