diff --git a/tests/Marker/test_Box.html b/tests/Marker/test_Box.html
index 8d0f5829aa..7056b4fed3 100644
--- a/tests/Marker/test_Box.html
+++ b/tests/Marker/test_Box.html
@@ -101,7 +101,7 @@
var map = new OpenLayers.Map("map");
var url = "http://octo.metacarta.com/cgi-bin/mapserv";
- layer = new OpenLayers.Layer.WMS(name, url);
+ layer = new OpenLayers.Layer.WMS("WMS Layer", url);
map.addLayer(layer);