Adds option to switch provider test contract source
What does this MR do and why?
This change allows the provider test to fetch the contract from a local source or from a pact broker depending on the environment variable set.
Changes include:
- Updating all provider specs to use
PublishContractHelper
. - Updating all provider specs to use
ContractSourceHelper
. - Moved
spec/contracts/provider/pact_helpers/project/pipeline_schedule/update_pipeline_schedule_helper.rb
as it wasn't following the correct folder structure convention.
Related: #380899 (closed)
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Richard Chong