Closed vitalyiegorov closed 6 years ago
@christeredvartsen Closes #65
Would it be better to just forward whatever is set in the apiClient
part of the extension configuration to the Guzzle constructor, instead of specifying specific options?
You could then configure the Behat extension like this:
default:
extensions:
Imbo\BehatApiExtension:
apiClient:
base_uri: https://some.uri
verify: false
headers:
x-some-header: value
@christeredvartsen Updated PR and tests to pass whole array from
apiClient:
...
to Guzzle client initialization
@christeredvartsen Can we merge this PR?
Can we merge this PR?
Hold your :horse: there cowboy. I'll have a look at the code changes after work.
@christeredvartsen Howdy Sheriff, have you had a chance to check it?
Superseded by #67.
Usually for local development you create self signed SSL certificates, this PR resolves guzzle/curl error: