After extraction of the reference data from the requisition service, some of the integration tests need to be re-written. (Note: To be clear, this ticket covers the integration tests in the requisition service. The integration tests in the reference data service are covered by OLMIS-1018.) Since the goal is to make the services independent, the ITs must not bring up other services, but mock the responses from external APIs. The goal of this tikcet is to introduce the mocking of external APIs in tests and refactoring the tests that require external APIs to use mocked responses.
All the integration tests run and pass
None of the integration tests require other services to run
The integration tests that test pieces of code that communicate with other services mock the responses from external APIs