jenkinsci / oic-auth-plugin

A Jenkins plugin which lets you login to Jenkins using your own, self-hosted or public openid connect server.
https://plugins.jenkins.io/oic-auth
MIT License
74 stars 94 forks source link

Switching tests to throw generic Exception #425

Closed PereBueno closed 1 month ago

PereBueno commented 1 month ago

Simply changing some tests signature to throw a generic exception, simpler to maintain and avoids merge problems

Testing done

Submitter checklist

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 71.88%. Comparing base (0a76e5d) to head (c98df34). Report is 19 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #425 +/- ## ============================================ + Coverage 71.68% 71.88% +0.20% - Complexity 202 206 +4 ============================================ Files 16 16 Lines 890 900 +10 Branches 120 126 +6 ============================================ + Hits 638 647 +9 + Misses 188 186 -2 - Partials 64 67 +3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.