Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
distribution: TestPullSchema2Config fix test response
The test was depending on the client constructing an error based on the http-status code, and the client not reading the response body if the response was not a JSON response. This fix; - adds the correct content-type headers in the response - includes error-messages in the response - adds additional tests to cover both the plain (non-JSON) and JSON error responses, as well as an empty response. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
- Loading branch information