mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-20 17:32:15 +03:00
4744349381
refs https://github.com/TryGhost/Team/issues/694 refs https://linear.app/tryghost/issue/CORE-10/tackle-integrationsjs - The controller code is not meant to contain complex business logic. - Added a test case checking 'PUT' endpoint for integrations to ensure proper 'NotFound' handling. Found that previous implemenation was buggy - threw a 500 as 'models.Integration.NotFoundError' that was removed in previous commit didn't catch a needed error. |
||
---|---|---|
.. | ||
admin | ||
content | ||
README.md |
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.