Skip to content

Commit bd97f95

Browse files
committed
Use OSM URL from provider in Geocode unit tests
1 parent 2429f68 commit bd97f95

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)