Fewer failing tests
There are still tests failing, but this change addresses some of the new failures after 4b163e0482 (which is an awesome improvement despite the test failures :).
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user