File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
lib/pact/v2/provider/pact_config Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -276,7 +276,7 @@ Place your provider verification file under
276276 @log_level = opts[:log_level ] || :info
277277 @pact_dir = opts[:pact_dir ] || nil
278278 @provider_setup_port = opts[:provider_setup_port ] || 9001
279- @pact_proxy_port = opts[:provider_setup_port ] || 9002
279+ @pact_proxy_port = opts[:pact_proxy_port ] || 9002
280280 @pact_uri = ENV .fetch(" PACT_URL" , nil ) || opts.fetch(:pact_uri , nil )
281281 @publish_verification_results = ENV .fetch(" PACT_PUBLISH_VERIFICATION_RESULTS" , nil ) == " true" || opts.fetch(:publish_verification_results , false )
282282 @provider_version = ENV .fetch(" PACT_PROVIDER_VERSION" , nil ) || opts.fetch(:provider_version , nil )
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ def initialize(provider_name:, opts: {})
1717 @pact_dir = opts [ :pact_dir ] || nil
1818 @logger = opts [ :logger ] || nil
1919 @provider_setup_port = opts [ :provider_setup_port ] || 9001
20- @pact_proxy_port = opts [ :provider_setup_port ] || 9002
20+ @pact_proxy_port = opts [ :pact_proxy_port ] || 9002
2121 @pact_uri = ENV . fetch ( "PACT_URL" , nil ) || opts . fetch ( :pact_uri , nil )
2222 @publish_verification_results = ENV . fetch ( "PACT_PUBLISH_VERIFICATION_RESULTS" , nil ) == "true" || opts . fetch ( :publish_verification_results , false )
2323 @provider_version = ENV . fetch ( "PACT_PROVIDER_VERSION" , nil ) || opts . fetch ( :provider_version , nil )
You can’t perform that action at this time.
0 commit comments