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.
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.