0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/test
Kevin Ansfield 9810c41dca 🐛 Fixed facebook/twitter images having relative URLS in API output
no issue

Output serializer's url util was expecting `og_image` and `twitter_image` to be top-level attributes in the `attrs` object but they are actually nested under `posts_meta`.

- updated the code to use lodash's `get/set()` so that we can work with paths for easier handling of nested objects
- fixed unit tests where the mocked data under test did not match real-world data
2020-06-30 16:40:34 +01:00
..
api-acceptance Added migration to add settings.{group,flags} columns (#11951) 2020-06-24 11:58:15 +01:00
frontend-acceptance 🐛 Fixed private blogging exposing 404 and robots (#11922) 2020-06-16 11:42:32 +01:00
regression Updated head to only output custom favicons (#11949) 2020-06-30 15:07:08 +01:00
unit 🐛 Fixed facebook/twitter images having relative URLS in API output 2020-06-30 16:40:34 +01:00
utils Updated serializers/model layer validation using settings type 2020-06-30 17:38:36 +05:30
.eslintignore Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00
.eslintrc.json Fixed linting error 2020-04-17 11:32:29 +01:00
.jshintrc Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00