-
Notifications
You must be signed in to change notification settings - Fork 111
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
Adds inherited auth test cases #422
Conversation
f4c3618
to
a3fb075
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
|
||
expect(err).to.be(null); | ||
expect(request.url.toString()).to.eql('https://postman-echo.com/basic-auth'); | ||
expect(response.code).to.eql(200); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to.be
|
||
describe('in collection and request level', function () { | ||
before(function (done) { | ||
var clonedRunOptions = _.merge({}, runOptions, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove the first argument to _.merge
, and shift runOptions
to after the collection.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kunagpal we want the options to override runOptions
always, but not mutate it. _.defaults
does not do a deep merge.
1014b8f
to
94a8120
Compare
dd07dea
to
59cbc64
Compare
* release/6.4.2: (22 commits) Released v6.4.2 Disable localhost IPv6 test on Travis Fix syntax errors Syntax changes Code styling fixes Allow IP address/host restrictions using `restrictedAddresses` option Make sure `request` command does not crash for unhandled errors in `http-request` command chore(package): update eslint to version 4.10.0 chore(package): update sinon to version 4.0.2 chore(package): update ajv to version 5.3.0 chore(package): update ajv to version 5.2.5 chore(package): update editorconfig to version 0.15.0 chore(package): update eslint-plugin-lodash to version 2.5.0 Add tests for test scripts in inherited events Point to postman-collection develop for order preserving in events Make sure order is preceived in events Added tests for inherited events Remove the `suppressEventPropagation` for inherited events Fixes as per review comments #422 Adds test case for request level auth overriding collection level auth ...
No description provided.