SuiteCRM-Core/tests/api.suite.dist.yml
Clemente Raposo 6c3e266b5d Add legacy api re-direction
- Listen to legacy api calls on the LegacyRedirectListener
- Add LegacyApiRedirectHandler to re-direct to legacy endpoint
-- Using 307 re-direction response to support post re-direction
-- Using api_paths.yaml with the configuration with paths to check

- Setup API tests using codeception
-- Add helper methods to login in v4 and v8 API
- Add Api test to create account using v4 api
- Add Api test to create account using v8 api
- Add unit test for LegacyApiRedirectHandler
2021-03-30 19:21:34 +01:00

12 lines
No EOL
335 B
YAML

actor: ApiTester
modules:
enabled:
- \App\Tests\Helper\Api
- REST:
url: http://<suite-endpoint>
depends: PhpBrowser
- \App\Tests\Helper\ConfigHelper:
client_id: <legacy-suite-client-id>
client_secret: <legacy-suite-client-secret>
user_name: <user-name>
password: <password>