Ghost/test/regression
Naz ba964c549f Moved route settings "getter" to the backend
refs https://linear.app/tryghost/issue/CORE-35/refactor-route-and-redirect-settings

- Frontend is not meant to know about the underlying source of the "routes" configuration, so any reads/edits/validations are being moved into a backend service. This should also simplify the coupling of the backend with the frontend where the latter will get a JSON blob with all needed configuration during the boot
- Nother problem the "get" method had was hiding an underlying function it was doing - reading the file from the filesystem SYNCRONOUSLY. It might be a thing we need to do during the "web" app initialization, but there's no clear need to do this in a sync fassion during the bootup for example. Also having a more explicit name should help :)
2021-09-28 04:59:41 +13:00
..
api Added custom_theme_settings table/model (#13327) 2021-09-23 11:51:18 +01:00
exporter Added custom_theme_settings table/model (#13327) 2021-09-23 11:51:18 +01:00
importer Renamed tests to .test.js & updated commands 2021-07-06 20:45:01 +01:00
migrations Added custom theme settings browse/edit permissions for Administrators (#13361) 2021-09-27 09:59:09 +01:00
models Moved default settings population test to regression suite 2021-09-01 15:23:57 +04:00
settings Renamed tests to .test.js & updated commands 2021-07-06 20:45:01 +01:00
site Moved route settings "getter" to the backend 2021-09-28 04:59:41 +13: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.