Commit 6939f9d
committed
test(db/postgres): clear every PG* variable the connection guard reads
GitHub-hosted runners preset PGUSER and PGPASSWORD for their bundled
postgres tooling. The connection guard now honours the wider PG*
family, so the no-connection session store test must clear all of the
variables it reads, not just PGHOST; with only PGHOST cleared the
guard saw the runner's PGUSER and the expected throw never happened.1 parent a1196fe commit 6939f9d
1 file changed
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
312 | 312 | | |
313 | 313 | | |
314 | 314 | | |
315 | | - | |
316 | | - | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
317 | 321 | | |
318 | 322 | | |
319 | 323 | | |
| |||
324 | 328 | | |
325 | 329 | | |
326 | 330 | | |
327 | | - | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
328 | 334 | | |
329 | 335 | | |
330 | 336 | | |
| |||
0 commit comments