0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00
ghost/test/api-acceptance
Kevin Ansfield bb19eddeae
Added DELETE /members/ to the Admin API for bulk member deletion (#12082)
refs https://github.com/TryGhost/Team/issues/585

- adds `DELETE /members/` route to the Admin API
- supports `?filter`, and `?search` query params to limit the members that are deleted
- `?all=true` is required if no other filter or query is provided
- uses `models.Member.bulkDestroy` which _will not_ cancel any Stripe subscriptions if members have them but _will_ clean up the Stripe relationship data in Ghost's database
2021-04-08 12:03:45 +01:00
..
admin Added DELETE /members/ to the Admin API for bulk member deletion (#12082) 2021-04-08 12:03:45 +01:00
content Updated fixtures for Ghost v4.0 2021-03-10 17:37:16 +00:00
README.md Updated acceptance&regression test suite readmes 2021-01-22 16:42:02 +13:00

Acceptance Tests

This folder should only contain a set of basic API use cases.

The goal for acceptance tests is to keep test cases to basic usecases e.g. upload an image, schedule a post, download a theme. Otherwise tests should be written as a part of regression test suite.

Future improvement notes:

  • We probably need a differentiation for the acceptance tests for session and api_key authentication.