mirror of
https://github.com/ev-map/EVMap.git
synced 2026-05-19 04:16:24 -04:00
OSM: Set barrierFree to proper value
This commit is contained in:
@@ -94,7 +94,7 @@ data class OSMChargingStation(
|
||||
"https://www.openstreetmap.org/edit?node=$id",
|
||||
null,
|
||||
false, // We don't know
|
||||
null, // What does this entail?
|
||||
tags["authentication:none"] == "yes",
|
||||
tags["operator"],
|
||||
tags["description"],
|
||||
null,
|
||||
|
||||
@@ -73,6 +73,7 @@ class OpenStreetMapModelTest {
|
||||
assertEquals("https://www.openstreetmap.org/node/9084665785", chargeLocation.url)
|
||||
assertEquals(true, chargeLocation.openinghours?.twentyfourSeven)
|
||||
assertEquals("GOFAST", chargeLocation.name) // Fallback to operator because name is not set
|
||||
assertEquals(false, chargeLocation.barrierFree) // False because `authentication:none` isn't set
|
||||
assertEquals(now, chargeLocation.timeRetrieved)
|
||||
|
||||
// Cost
|
||||
|
||||
Reference in New Issue
Block a user