From ad293c09b905112cae45e0dd3473fb2b5b8e8e4e Mon Sep 17 00:00:00 2001 From: Marwin Hochfelsner <50826859+hlfan@users.noreply.github.com> Date: Tue, 3 Jun 2025 06:04:57 +0200 Subject: [PATCH] Fix bounding box coordinates in OSM.location test --- test/javascripts/osm_test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/javascripts/osm_test.js b/test/javascripts/osm_test.js index 8f4471140..9fb7423cb 100644 --- a/test/javascripts/osm_test.js +++ b/test/javascripts/osm_test.js @@ -116,7 +116,7 @@ describe("OSM", function () { }); it("sets bbox from OSM.location", function () { - OSM.location = { minlon: -3.6845, minlat: 57.6247, maxlon: -3.7845, maxlat: 57.7247 }; + OSM.location = { minlon: -3.7845, minlat: 57.6247, maxlon: -3.6845, maxlat: 57.7247 }; const expected = L.latLngBounds([57.6247, -3.6845], [57.7247, -3.7845]); const params = OSM.mapParams("?"); expect(params).to.have.property("bounds").deep.equal(expected); -- 2.39.5