Ghost/core/test/regression
Hannah Wolfe ce563179b8 🐛 Fixed infinite redirect for amp when disabled
fixes 10883

- fixed an issue where /amp/ pages would cause an infinite redirect loop
- this only occurred when amp was disabled, and query params were passed to the /amp/ url
- this fix resolves the issue by not assuming /amp/ is the end of the URL
- it also checks for `/amp/` (both slashes) and replaces one
2019-07-08 17:32:12 +01:00
..
api Update Test & linting packages (major) (#10858) 2019-07-05 13:40:43 +02:00
apps/subscribers Separated test env into: acceptance, regression and unit tests (#10411) 2019-01-22 17:54:50 +01:00
exporter Separated test env into: acceptance, regression and unit tests (#10411) 2019-01-22 17:54:50 +01:00
importer Update Test & linting packages (major) (#10858) 2019-07-05 13:40:43 +02:00
migrations Added notification access persmission for users of Editor role 2019-04-18 13:02:23 +02:00
models Update Test & linting packages (major) (#10858) 2019-07-05 13:40:43 +02:00
site 🐛 Fixed infinite redirect for amp when disabled 2019-07-08 17:32:12 +01:00
update-check Fixed regression test 2019-05-02 21:04:16 +02:00
README.md Separated test env into: acceptance, regression and unit tests (#10411) 2019-01-22 17:54:50 +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.