-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ensure that supplied request-object is passed through #894
Conversation
@ath88 is there a way this can be tested? |
It can be tested, yes. I did this by supplying a request-object with a custom header added in I stumbled across this when trying to supply a request-object with a specific certificate and key. The first request would succeed, while the second failed, since the key and certificate was not used in the second request. With my changes, the request-object (along with new defaults) is retained. I could probably write a test for this, but it would be difficult to make it fit the current mocha-scheme. |
can you add a test @ath88 ? |
I added an extra assert to an existing test. The new assert would fail without to the first commit I made. |
Incidentally, it wasn't as hard as I had thought. :) |
Thanks! |
@jsdevel What is your process regarding publishing new versions? :) I ask this because I'd like to know if we should publish this fix internally, or wait for it to be published. |
Thanks for responding so quickly! hat tip |
The request-parameter from createClient is lost for later requests in the WSDL-prototype. This PR fixes that problem.