-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Localize mock server dependency to HttpClient test
The mock server is not intended to serve requests/responses for all tests. We only intend to use it to ensure that we handle URLs, query parameters, headers, and general HTTP matters correctly. Everything "outward" from here should use mocks, generally, out to the system tests, which will use a real API. The HttpClient response bodies can be mocked inline in the ApiClient tests for locality and ease. The mock really server only needs to run for http_client_test.cpp.
- Loading branch information
Showing
3 changed files
with
48 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters