7904c303a7
no issue - This new format allows to return additional metadata with failed import records. The data for invalid records is returned in following format: ``` { count: {count_of_invalid_records}, errors: [{ message: "Members not imported. Members with duplicate Stripe customer ids are not allowed." // message field of the error context: "Attempting to import members with duplicate Stripe customer ids." // context field of the error help: "Remove duplicate Stripe customer ids from the import file, and re-run the import." // help field of the error count: 2 // count of this specific error }] }; - Errors are grouped by their context fields because message fields sometimes can contain unique information like Stripe customer id, which would produce too many errors in case of bigger datasets. |
||
---|---|---|
.. | ||
admin | ||
content | ||
README.md |
Acceptance Tests
This folder should only contain a set of basic API use cases.
We are currently refactoring the test env. The "old" folder currently contains all API tests for the stable API version (v2). The goal is:
- either keep a test if it's a basic use case e.g. upload an image, schedule a post, download a theme
- otherwise move the test to regression api v2 tests
We probably need a differentiation for the acceptance tests for session and api_key authentication.
Before we move tests:
- we have to re-work how are test utility is structured
- we have to reduce tests