Ghost/test/unit/data
Rish d6f4f01eff Added new settings integrity tests
refs https://github.com/TryGhost/Ghost/issues/12026

- We made changes to settings table structure in 3.22 which added new columns for `group` and `flags`
- Any new setting needs explicit group and flag migrations since or they fallback to default group value of `core`
- This tests ensures
  - hash is updated in DB integrity test anytime default-settings are changed
  - that a migration is present by maintaining a whitelist of allowed core settings and failing if new setting is added without correct group migration
2020-07-10 18:32:54 +05:30
..
db Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
exporter Removed use of deprecated setting flags from the codebase 2020-06-23 11:58:19 +12:00
importer Cleaned up members & stripe settings (#11957) 2020-06-29 16:22:42 +02:00
meta Moved core/server/lib/url-utils to core/shared/url-utils (#11856) 2020-05-28 11:57:02 +01:00
migrations Added migration utils for permissions 2020-06-25 19:15:25 +02:00
schema Added new settings integrity tests 2020-07-10 18:32:54 +05:30
validation Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
xml/sitemap Removed final non-destructured imports of core/server/lib/common (#11858) 2020-05-28 17:54:18 +01:00