Commit 687998f
committed
test(config): cover PAYMENT_TEST_MODE_ENABLED parse + add RAZORPAY_TEST_* to allKeys
allKeys() (env host-state clearer) was missing the RAZORPAY_TEST_* vars and the
new PAYMENT_TEST_MODE_ENABLED flag, so a leaked host env could bleed into config
tests. Add them + a TestLoad_PaymentTestModeEnabled mirroring the other *_ENABLED
flag tests (100%-patch coverage for the new parse branch).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 6a17b5c commit 687998f
1 file changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
43 | 46 | | |
44 | 47 | | |
45 | 48 | | |
| |||
419 | 422 | | |
420 | 423 | | |
421 | 424 | | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
| 437 | + | |
| 438 | + | |
| 439 | + | |
422 | 440 | | |
423 | 441 | | |
424 | 442 | | |
| |||
0 commit comments