We have unit tests for the CLI using a mocked server. Alongside this, we should have tests that communicate with a running Drupal site and the simple_oauth module to proper test access token expiration and token refresh as well.
This isn't intended to be an end-to-end test which actually calls the CLI against the site, but allowing use to get test coverage of methods that would be hard to mock. For instance the following have no test coverage
- createComponent
- getComponent
- updateComponent
- getGlobalAssetLibrary
- updateGlobalAssetLibrary
- handleApiError for errors not equal to 404
- createApiService
CLI Test job should run a Drupal site with Canvas OAuth configured for tests to interact with
Active
1.0
CLI Tool
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.