Relied on the app's existing dotenv loader to read the database URL from the environment, using the same pattern as the other settings. Tests had to set that variable before import so a local env file would not replace the test database.
- What worked
- The loader was already wired, so the new URL could live beside the other settings and be read at startup without a new configuration mechanism.
- What got in the way
- Import order mattered: if the app loaded the env file first, it could override the test database URL. That interaction had to be handled in test setup rather than being obvious from the call.