Commit d44c2b6
Fix TestLoadMissingRequired to work in CI environment
CI sets DATABASE_URL environment variable, so the test was passing
when it should have failed. Now explicitly clearing all required
env vars with t.Setenv() which restores original values after test.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 975e26c commit d44c2b6
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
| |||
0 commit comments