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:
Tim Schaub
2013-02-14 12:29:03 -07:00
parent 4d7eaf4939
commit e9eefc7a33
3 changed files with 3 additions and 1 deletions

View File

@@ -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

View File

@@ -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);

View File

@@ -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');