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

Add Client ID to send_verification_email #162

Merged
merged 2 commits into from
Mar 18, 2019

Conversation

joshcanhelp
Copy link
Contributor

@joshcanhelp joshcanhelp commented Feb 27, 2019

Changes

  • Add Add Client ID to Auth0::Api::V2::Jobs.send_verification_email
  • Remove skipped Jobs tests and add VCR cassettes

References

Fixes #92

Testing

Failing tests for new feature

  • This change adds unit test coverage
  • This change adds integration test coverage
  • This change has been tested on the latest version of Ruby (2.5.1)

Checklist

  • All existing and new tests complete without errors
  • Rubocop passes on all added/modified files
  • All active GitHub checks have passed

@joshcanhelp joshcanhelp marked this pull request as ready for review February 27, 2019 22:14
@joshcanhelp joshcanhelp added this to the v4.7.0 milestone Feb 27, 2019
@joshcanhelp joshcanhelp changed the title [WIP] Add Client ID to send_verification_email Add Client ID to send_verification_email Feb 27, 2019
def fields_for_export(fields)
return nil if fields.nil? || fields.empty?
return nil if fields.to_s.empty?
Copy link
Contributor

Choose a reason for hiding this comment

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

why the change here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Simplification ... I think it was suggested by the formatting tool rubocop

@@ -21,6 +21,7 @@ module HTTPProxy
elsif method == :delete
call(:delete, url(safe_path), timeout, add_headers({params: body}))
elsif method == :post_file
body.merge!(multipart: true)
Copy link
Contributor

Choose a reason for hiding this comment

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

why?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The import method was not working as it was written, which I found out when the tests were finally running (instead of being skipped).

@joshcanhelp joshcanhelp merged commit 79f5a27 into master Mar 18, 2019
@joshcanhelp joshcanhelp deleted the add-client-id-to-email-verify branch March 18, 2019 18:30
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.

2 participants