Skip to content

Commit 5c471e4

Browse files
authored
Merge pull request #476 from chrismayer/osm-url-tests
Use OSM URL from provider in Geocode unit tests
2 parents 2429f68 + bd97f95 commit 5c471e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/specs/components/geocoder/Geocoder.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ describe('geocoder/Geocoder.vue', () => {
213213
let axiosMock;
214214
let onQueryResultsSpy;
215215
let onQueryErrorSpy;
216-
const osmURL = 'https://nominatim.openstreetmap.org/search';
216+
const osmURL = new OpenStreetMap().settings.url;
217217
const fetchResults = JSON.stringify([
218218
{
219219
lon: '7.0928944',

0 commit comments

Comments
 (0)