Ghost/core/test/utils
Aileen Nowak 1da2eec915 🐛Fixed image properties to be reset to null after removal (#9432)
closes #9085

Fixes an issue, where the client sets image properties to `""` after deleting the image. This causes problems with the query filter (see https://github.com/TryGhost/GQL/issues/24), as they have to be `null`.

Added a check in the model layer saving method to set value  to `null`, when the property is empty.

Affected models and properties:
- `posts`:
	- `feature_image`
	- `og_image`
	- `twitter_image`
- `users`:
	- `profile_image`
	- `cover_image`
- `tags`:
	- `feature_image`
2018-03-05 09:10:27 +01:00
..
fixtures 🐛Fixed image properties to be reset to null after removal (#9432) 2018-03-05 09:10:27 +01:00
mocks Extended test mocks: express & knex 2018-02-22 00:37:40 +01:00
api.js 🐛 Fixed showing old release notifications in the about page 2018-01-18 12:19:55 +01:00
assertions.js
channelUtils.js Changed channelsRouter to use new base class 2017-11-09 10:47:20 +00:00
configUtils.js 🔥 remove forceAdminSSL and urlSSL, add admin url (#7937) 2017-02-03 18:13:22 +00:00
index.js Consistent function names in test utility 2018-02-21 17:48:46 +01:00