Commit eb17212
refactor: remove dotenv-cpp dependency from integration tests
Replace dotenv::getenv() calls with a local getenv_or() lambda wrapping
std::getenv(), using the same key/fallback pattern. This removes the
laserpants/dotenv-cpp FetchContent fetch, the dotenv link target, and
the <dotenv.h> include entirely.
The integration test already receives all connection parameters via
process environment variables set by CMake set_tests_properties(), so
no .env file loading was actually needed at runtime.
Also remove dotenv-cpp from README.md dependencies list.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 35624f3 commit eb17212
3 files changed
Lines changed: 13 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
218 | | - | |
219 | 218 | | |
220 | 219 | | |
221 | 220 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | 17 | | |
31 | 18 | | |
32 | 19 | | |
| |||
45 | 32 | | |
46 | 33 | | |
47 | 34 | | |
48 | | - | |
49 | 35 | | |
50 | 36 | | |
51 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | 1 | | |
4 | 2 | | |
| 3 | + | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
50 | 54 | | |
51 | 55 | | |
52 | 56 | | |
53 | 57 | | |
54 | 58 | | |
55 | | - | |
56 | | - | |
57 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
58 | 62 | | |
59 | 63 | | |
60 | 64 | | |
| |||
0 commit comments