Ghost/test/regression/api/canary
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
..
admin Refactored post resource Admin API test utils 2021-05-12 18:15:54 +04:00
content 🐛 Fixed __GHOST_URL__ appearing in generated excerpts 2021-03-17 19:12:40 +13:00