Ghost/core/test/regression
Naz Gargol 193c179110
Extracted members-specific middleware from site app module (#11405)
no issue

- In order to keep site/app.js module tidy and less coupled with members module we need to extract some of the functionality where it belongs conceptually
- Added "members enabled check" middleware to stripe webhook endpoint
- Reshuffled members middleware so that siteApp is in control of mounting points. This is meant to be a more explicit way to see which endpoints are being handled by members middleware
- Extracted member-specific public file middleware
- Unified use of `labs.member` alias method. Done for code style consistency
- Added basic members' test suite. This is a base we could work from when more modifications are needed
- Removed route handler for unexisting members file "members-theme-bindings.js". Calling this route otherwise causes a 500. Looks like a leftover from 49672a1e4d
2019-11-21 10:01:24 +07:00
..
api Fixed regression test for page property 2019-10-16 15:44:05 +07:00
exporter Separated test env into: acceptance, regression and unit tests (#10411) 2019-01-22 17:54:50 +01:00
importer Updated regression tests for subscribers removal 2019-10-09 16:40:52 +01:00
migrations Updated regression tests for subscribers removal 2019-10-09 16:40:52 +01:00
models Cleaned up references to reserved slugs 2019-11-18 14:25:33 +00:00
site Extracted members-specific middleware from site app module (#11405) 2019-11-21 10:01:24 +07: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.