Skip to content
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

Return policy attr in errors + responseType validation #273

Merged
merged 4 commits into from
Dec 16, 2016
Merged

Return policy attr in errors + responseType validation #273

merged 4 commits into from
Dec 16, 2016

Conversation

glena
Copy link
Contributor

@glena glena commented Dec 16, 2016

Closes #271

@@ -36,6 +37,10 @@ Redirect.prototype.login = function (options, cb) {

this.warn.warning('`webauth.redirect.login` will be soon deprecated, use `webauth.login` instead.');

assert.check(params, { type: 'object', message: 'options parameter is not valid' }, {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we test this?

@@ -259,6 +259,10 @@ WebAuth.prototype.login = function (options) {
'audience'
]).with(options);

assert.check(params, { type: 'object', message: 'options parameter is not valid' }, {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we test this?

@codecov-io
Copy link

codecov-io commented Dec 16, 2016

Current coverage is 100% (diff: 100%)

Merging #273 into v8 will not change coverage

@@            v8   #273   diff @@
=================================
  Files       30     30          
  Lines      931    936     +5   
  Methods    164    164          
  Messages     0      0          
  Branches   133    134     +1   
=================================
+ Hits       931    936     +5   
  Misses       0      0          
  Partials     0      0          

Powered by Codecov. Last update 94ac7fc...2fb0022

@hzalaz hzalaz added this to the v8-Next milestone Dec 16, 2016
@hzalaz hzalaz merged commit 61512f9 into v8 Dec 16, 2016
@hzalaz hzalaz deleted the fixes branch December 16, 2016 20:28
@hzalaz hzalaz modified the milestones: v8-Next, v8.0.0-beta.2 Dec 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants