Skip to content

Commit dbd77d3

Browse files
authored
Update gabledroofbug.test.js
1 parent 44f53c5 commit dbd77d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/gabledroofbug.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,8 @@ test('Test downloading type=building with multipolygon outline and multiple inne
171171
expect(building.id).toBe('42');
172172
expect(building.outerElement.shape.holes.length).toBe(1);
173173
expect(global.fetch).toHaveBeenCalledTimes(3);
174-
expect(global.fetch.mock.calls[0][0]).toBe('/relation/42/full');
175-
expect(global.fetch.mock.calls[1][0]).toBe('/relation/40/full');
174+
expect(global.fetch.mock.calls[0][0]).toBe('https://api.openstreetmap.org/api/0.6/relation/42/full');
175+
expect(global.fetch.mock.calls[1][0]).toBe('https://api.openstreetmap.org/api/0.6/relation/40/full');
176176
expect(global.fetch.mock.calls[2][0]).toBe('/map');
177177
});
178178

0 commit comments

Comments
 (0)