diff --git a/tests/Control/ZoomBox.html b/tests/Control/ZoomBox.html index 2e037192e5..0ff3e6010c 100644 --- a/tests/Control/ZoomBox.html +++ b/tests/Control/ZoomBox.html @@ -23,6 +23,7 @@ function test_zoomBox(t) { t.plan(4); var map = new OpenLayers.Map("map", { + zoomMethod: null, layers: [new OpenLayers.Layer("", {isBaseLayer: true})], center: [0, 0], zoom: 1 diff --git a/tests/Layer/WMS.html b/tests/Layer/WMS.html index 08037e2312..8ceb5874b8 100644 --- a/tests/Layer/WMS.html +++ b/tests/Layer/WMS.html @@ -557,7 +557,7 @@ function test_tileBounds(t) { t.plan(3); - var map = new OpenLayers.Map("map", {projection: "EPSG:3857"}); + var map = new OpenLayers.Map("map", {projection: "EPSG:3857", zoomMethod: null}); var layer = new OpenLayers.Layer.WMS("wms", "../../img/blank.gif"); map.addLayer(layer); map.setCenter([0, 0], 1); diff --git a/tests/TileManager.html b/tests/TileManager.html index b49b1bc1b1..72a58b4922 100644 --- a/tests/TileManager.html +++ b/tests/TileManager.html @@ -8,6 +8,7 @@ var tileManager = new OpenLayers.TileManager(); var map = new OpenLayers.Map('map', { + zoomMethod: null, tileManager: tileManager }); var layer = new OpenLayers.Layer.WMS('WMS1', '../img/blank.gif');