Ghost/test/regression
Naz d9ddc2db6a Added extra validation for some settings of array type
refs https://github.com/TryGhost/Team/issues/754
refs a7dec233ba

- Additional validation protects from problems like the ones in refed commit from even getting through to the database.
- At the moment only used notificatons and couple more settings to ensure they are arrays when passed into the API. This is to avoid making big change in settings straight away - this is a problematic area which needs cautious approach.
- Ideally in the future the list of settings to check the "array" type (and other types) should be automatically generated based on the default-settings.json (or whatever way we define settings in the db a that moment)
- There's an ugly code-tripplication going on in this change. This is a separate topic that will be addressed once we work on API cleanup.
2021-06-28 14:26:18 +04:00
..
api Added extra validation for some settings of array type 2021-06-28 14:26:18 +04:00
exporter Added products_benefits table 2021-06-24 17:21:01 +01:00
importer Switch to @trghost/validator, remove validator 2021-06-16 08:11:22 +01:00
migrations 🔒 Added a "reset all passwords" feature (#13005) 2021-06-23 14:54:28 +02:00
models Fixed Stripe customer model tests 2021-05-24 11:28:15 +01:00
settings Added routes_hash setting (#12171) 2020-09-07 21:54:55 +12:00
site Moved useful subdir and https tests to acceptance 2021-05-27 14:49:28 +01:00
README.md Updated acceptance&regression test suite readmes 2021-01-22 16:42:02 +13:00

Regression Tests

These tests should ensure that we don't break Ghost for all available APIs.

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