-
Notifications
You must be signed in to change notification settings - Fork 2
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 specs for OmniAuth::Strategies #1318
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## omniauth_link #1318 +/- ##
=================================================
+ Coverage 88.80% 91.98% +3.18%
=================================================
Files 100 100
Lines 2376 2358 -18
=================================================
+ Hits 2110 2169 +59
+ Misses 266 189 -77 ☔ View full report in Codecov by Sentry. |
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.
Nice additions to the test-suite!
I added a few notes for the abstract_saml_spec
d6ac551
to
092f634
Compare
* Allow adding and removing OmniAuth account links * Allow OmniAuth users to perform changes to their account In order to allow changes, we disable the password requirement for those users. As soon as a password is set for OmniAuth users, the regular workflow requiring the current password is restored. * Prevent deletion of last OmniAuth identity * Add specs for OmniAuth::Strategies (#1318)
* Allow adding and removing OmniAuth account links * Allow OmniAuth users to perform changes to their account In order to allow changes, we disable the password requirement for those users. As soon as a password is set for OmniAuth users, the regular workflow requiring the current password is restored. * Prevent deletion of last OmniAuth identity * Add specs for OmniAuth::Strategies (#1318)
So far, the SAML strategies included in the application still lacked some test coverage. With this PR, I am improving the test coverage.
Please note that this branch already includes the changes of #1316.