Ghost/test/unit/services/settings
Kevin Ansfield fd4a011995
🐛 Fixed settings cache being out of sync after migrations (#11987)
refs https://github.com/TryGhost/Ghost/issues/10318

- re-initialize settings cache after migrations by shutting down to clean up event listeners then and calling `init` again
- important to ensure `db.ready` event is not emitted until settings have finished re-initializing to avoid problems with background processes using the db connection which is disconnected/re-connected or being kicked off with out-of-date settings
2020-07-01 17:16:57 +01:00
..
cache_spec.js 🐛 Fixed settings cache being out of sync after migrations (#11987) 2020-07-01 17:16:57 +01:00
ensure-settings_spec.js Removed final non-destructured imports of core/server/lib/common (#11858) 2020-05-28 17:54:18 +01:00
loader_spec.js Refactored tests to destructure common lib import (#11838) 2020-05-25 09:49:38 +01:00
settings_spec.js Refactored tests to destructure common lib import (#11838) 2020-05-25 09:49:38 +01:00
validate_spec.js Refactored tests to destructure common lib import (#11838) 2020-05-25 09:49:38 +01:00
yaml-parser_spec.js Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00