Closed dhil closed 2 years ago
Something is wrong in the configuration of no database unit tests. The description says "NO DATABASE" but the test suite is evidently trying to load whatever database driver is described by the config file.
I figured out what is happening. The test runners always generate a config with database information, and Links currently eagerly loads a default config if noone is given.
The sample config for the database unit test suite was using hardcoded constants rather than the
$LINKS_POSTGRES_*
family of environment variables like the rest of the testing infrastructure.