0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/test/unit
Hannah Wolfe ddb718f0bb
Fixed settingsCache returning falsy as null
refs: e68cb8b314

- a couple of months ago when improving the test coverage here I found some weird behaviour with falsey values
- turned out it didn't matter at the time because we didn't have any settings that are false
- with the introduction of calculated settings we will have: https://github.com/TryGhost/Ghost/pull/14766
- whilst building that, I found settings that should be returned as false were being returned as null
- fixing it in a separate commit to keep the work clean
2022-05-10 20:37:03 +01:00
..
api Moved content-version middleware onto api app 2022-05-02 19:05:14 +01:00
frontend 🔥 Removed {{author}} helper support 2022-05-02 17:59:48 +08:00
server Fixed legacyApiPathMatch not working with subdirs 2022-05-10 13:57:06 +01:00
shared Fixed settingsCache returning falsy as null 2022-05-10 20:37:03 +01:00