Commit 43942ce
committed
tests: add test for configuration with deprecated env var name
Until it's updated in this repor and the Index repo you can overwrite
the admin token using the new env var name and the old one (deprecated):
- New: `TORRUST_TRACKER__HTTP_API__ACCESS_TOKENS__ADMIN`
- Old (deprecated): `TORRUST_TRACKER_API_ADMIN_TOKEN`
THe new one uses exactly the strcuture and atribute names in the toml
file, using `__` as the separator for levels.
We can remove the test when we remove the deprecated name.1 parent b0c2f9f commit 43942ce
1 file changed
+20
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
540 | 540 | | |
541 | 541 | | |
542 | 542 | | |
543 | | - | |
| 543 | + | |
544 | 544 | | |
545 | 545 | | |
546 | 546 | | |
| |||
559 | 559 | | |
560 | 560 | | |
561 | 561 | | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
| 570 | + | |
| 571 | + | |
| 572 | + | |
| 573 | + | |
| 574 | + | |
| 575 | + | |
| 576 | + | |
| 577 | + | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
562 | 581 | | |
0 commit comments