diff --git a/tests/Layer/WFS.html b/tests/Layer/WFS.html index e44d36604c..461844892d 100644 --- a/tests/Layer/WFS.html +++ b/tests/Layer/WFS.html @@ -160,7 +160,7 @@ var map = new OpenLayers.Map('map'); map.addLayer(new OpenLayers.Layer("",{isBaseLayer: true} )); // we use an empty moveTo function because we don't want to request tiles - var layer = new OpenLayers.Layer.WFS("","",{},{'projection': new OpenLayers.Projection("EPSG:900913"), + var layer = new OpenLayers.Layer.WFS("","/wfs",{},{'projection': new OpenLayers.Projection("EPSG:900913"), moveTo: function() {}}); map.addLayer(layer); map.zoomToMaxExtent();