0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/test/regression
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
..
api Updated Content API resource ordering to be same as slugs in filter 2020-07-10 18:33:00 +12:00
exporter Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
importer Fixed importer mapping for renamed default_locale, active_timezone, ghost_* settings 2020-06-24 14:19:52 +12:00
migrations Fixed broken regression tests from #11861 2020-06-02 16:20:57 +02:00
models Updated Settings.populateDefaults() to account for available columns 2020-06-29 13:22:10 +00:00
settings Added new settings integrity tests 2020-07-10 18:32:54 +05:30
site Updated head to only output custom favicons (#11949) 2020-06-30 15:07:08 +01:00
update-check Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
README.md Move tests from core to root (#11700) 2020-03-30 16:26:47 +01:00

Regression Tests

This folder should contain packages which we test in a cron job once per day. These tests should ensure that we don't break Ghost.

The goal is that most of these packages use Ghost's API's to test behaviours, otherwise transform the tests into unit tests.