Fix tests

This commit is contained in:
Pieter Vander Vennet 2024-09-12 12:37:55 +02:00
parent 2f21d2e97a
commit bea818d002

View file

@ -158,7 +158,7 @@ describe("ImageProviders", () => {
)
Utils.injectJsonDownloadForTests(
"https://graph.mapillary.com/196804715753265?fields=thumb_1024_url,thumb_original_url,captured_at,creator&access_token=MLY|4441509239301885|b40ad2d3ea105435bd40c7e76993ae85",
"https://graph.mapillary.com/196804715753265?fields=thumb_1024_url,thumb_original_url,captured_at,compass_angle,geometry,creator&access_token=MLY|4441509239301885|b40ad2d3ea105435bd40c7e76993ae85",
{
thumb_1024_url:
"https://scontent-bru2-1.xx.fbcdn.net/m1/v/t6/An8HQ3DrfU76tWMC602spvM_e_rqOHyiUcYUTetXM7K52DDBEY5J4FWg4WKQqVUlMsWJn4nLXk0pxlBLx31146FqZ2Kg65z7lJUfR6wpW6WPSR5_y7RKdv4YEuzPjwIN0lagBnQONV3UjmXnEGpMouU?stp=s1024x768&ccb=10-5&oh=d460b401c505714ee1cb8bd6baf8ae5d&oe=61731FC3&_nc_sid=122ab1",
@ -167,6 +167,14 @@ describe("ImageProviders", () => {
id: "196804715753265",
captured_at: 1627748022000,
"compass_angle": 0,
"geometry": {
"type": "Point",
"coordinates": [
3.2153751999722,
51.215653199972
]
},
creator: {
username: "filipc",
id: "109372117958792",