Ghost/test/regression
Kevin Ansfield f4d9a41d3b
Added ?paid query parameter to Admin API members browse endpoint (#11892)
no issue

- NQL does not support the relationship setup that members->stripe customer<->stripe subscriptions uses so it wasn't possible to use the `filter` param to query against having an active subscription
- adds `customQuery` bookshelf plugin that allows customisation of SQL query used in `findPage` method by individual models
- use `customQuery` in Member model to set up joins and conditionals to select free/paid members when `options.paid` is present
- allow `?paid` param through API and permitted options for member model
2020-06-12 12:12:10 +01:00
..
api Added ?paid query parameter to Admin API members browse endpoint (#11892) 2020-06-12 12:12:10 +01:00
exporter Updated var declarations to const/let and no lists 2020-04-29 16:51:13 +01:00
importer Fixed wrong use of moment 2020-06-08 19:43:55 +01:00
migrations Fixed broken regression tests from #11861 2020-06-02 16:20:57 +02:00
models Fixed post model regression test 2020-06-11 14:02:53 +01:00
site Updated edit URLs to use consistent correct URLs 2020-06-01 08:42:11 +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.