fix: flaky oidc tests
This commit is contained in:
parent
1d3f973410
commit
e6d14da5f3
3 changed files with 13 additions and 0 deletions
|
|
@ -710,6 +710,10 @@ end
|
|||
|
||||
## Testing Strategy
|
||||
|
||||
### Test process environment
|
||||
|
||||
`test/test_helper.exs` clears Vereinfacht and OIDC-related environment variables at startup (same rationale as not hitting real APIs when `.env` is loaded). `Mv.Config` prefers ENV over database settings; without this, OIDC sign-in redirect tests would depend on the developer shell and become flaky. Tests that need specific OIDC env values set them in `setup` and restore with `on_exit`.
|
||||
|
||||
### Test Coverage Areas
|
||||
|
||||
#### 1. Unit Tests (Domain Logic)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue