Closed mmarchetti closed 4 days ago
This PR causes the test-credentials API to return a different error if the request fails, based on whether an API key was provided or only a server URL.
Fixes #1875
Added tests to cover all 4 combinations of
it's easiest to test this with the new UI in https://github.com/posit-dev/publisher/pull/1882.
Intent
This PR causes the test-credentials API to return a different error if the request fails, based on whether an API key was provided or only a server URL.
Fixes #1875
Type of Change
Automated Tests
Added tests to cover all 4 combinations of
Directions for Reviewers
it's easiest to test this with the new UI in https://github.com/posit-dev/publisher/pull/1882.