ory / kratos

Next-gen identity server replacing your Auth0, Okta, Firebase with hardened security and PassKeys, SMS, OIDC, Social Sign In, MFA, FIDO, TOTP and OTP, WebAuthn, passwordless and much more. Golang, headless, API-first. Available as a worry-free SaaS with the fairest pricing on the market!
https://www.ory.sh/kratos/?utm_source=github&utm_medium=banner&utm_campaign=kratos
Apache License 2.0
10.82k stars 935 forks source link

test: enable server-side config from context #3954

Closed zepatrik closed 1 week ago

zepatrik commented 2 weeks ago

With this change we can use the context-based test configs server side, e.g. in integration tests.

codecov[bot] commented 2 weeks ago

Codecov Report

Attention: Patch coverage is 97.29730% with 2 lines in your changes missing coverage. Please review.

Project coverage is 78.20%. Comparing base (61f87d9) to head (979ac92). Report is 1 commits behind head on master.

Files Patch % Lines
driver/config/testhelpers/config.go 97.01% 1 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #3954 +/- ## ========================================== + Coverage 78.18% 78.20% +0.02% ========================================== Files 363 363 Lines 25443 25486 +43 ========================================== + Hits 19892 19931 +39 - Misses 4030 4032 +2 - Partials 1521 1523 +2 ```

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