Closed missinglink closed 4 months ago
Ah yeah, I might have seen this at some point too. If not in this repo, I'm pretty sure it's possible in others.
I think the easiest way around this sort of problem is to always use an empty pelias.json
when running the tests, like we did in https://github.com/pelias/api/pull/1431. It's not much work to set up, and it doesn't require going through all the unit tests to find which ones might possibly behave differently with non-standard pelias.json
settings.
I noticed today that when I have my own local
~/pelias.json
file with values inimport.whosonfirst
then the tests fail. Moving or deleting~/pelias.json
make the tests pass again.I didn't dig into it further but I'm guessing that having
countryCode: US
set is what's causing the issue..see: https://github.com/pelias/whosonfirst/pull/520