gbv / jskos-server

Web service to access JSKOS data
https://coli-conc.gbv.de/api/
MIT License
6 stars 4 forks source link

Tests always use localhost:27017 for MongoDB #132

Closed stefandesu closed 3 years ago

stefandesu commented 3 years ago

Tests are supposed to use the same database as configured by the user, but during tests the user config is ignored, so it'll fall back to the default config. This means that if the MongoDB is not running on localhost:27017 with empty user and password, the tests will fail.