dfinity / exchange-rate-canister

The exchange rate canister (XRC) makes use of the HTTP requests feature to provide exchange rates as a service to the IC.
Apache License 2.0
37 stars 10 forks source link

refactor: Allow e2e tests to have different response bodies beyond JSON. #169

Closed dfinity-ryancroote closed 1 year ago

dfinity-ryancroote commented 1 year ago

This PR updates the e2e tests response builder to allow for different content types when responding to the canister HTTP outcalls. The PR was created to start adding forex sources (some sources return XML) to the e2e tests.