diff --git a/tests/Control/SLDSelect.html b/tests/Control/SLDSelect.html index d4d13b0f00..2221db797b 100644 --- a/tests/Control/SLDSelect.html +++ b/tests/Control/SLDSelect.html @@ -81,7 +81,7 @@ control.events.unregister("selected", this, testEvent); t.eq(map.layers.length, 2, "Selection layer has been created and added to the map"); t.eq(map.layers[1] instanceof OpenLayers.Layer.WMS.Post, true, "A WMS Post layer has been created as the selection layer"); - var expected_sld = 'AAA64defaultdefaultgeometry-3.5355339059327,-3.5355339059327 3.5355339059327,3.5355339059327#FF00002'; + var expected_sld = 'AAA64defaultgeometry-3.5355339059327,-3.5355339059327 3.5355339059327,3.5355339059327#FF00002'; t.xml_eq(map.layers[1].params.SLD_BODY, expected_sld, "SLD generated correctly"); @@ -168,7 +168,7 @@ var geometry = OpenLayers.Geometry.Polygon.createRegularPolygon( new OpenLayers.Geometry.Point(0, 0), 5, 4); control.select(geometry); - var expected_sld = 'KGNAT.VKUNSTWERKdefaultdefaultgeometry-3.5355339059327,-3.5355339059327 3.5355339059327,3.5355339059327#FF0000KGNAT.LKUNSTWERKdefaultdefaultgeometry-3.5355339059327,-3.5355339059327 3.5355339059327,3.5355339059327#FF00002KGNAT.PKUNSTWERKdefaultdefaultgeometry-3.5355339059327,-3.5355339059327 3.5355339059327,3.5355339059327square#FF000010'; + var expected_sld = 'KGNAT.VKUNSTWERKdefaultgeometry-3.5355339059327,-3.5355339059327 3.5355339059327,3.5355339059327#FF0000KGNAT.LKUNSTWERKdefaultgeometry-3.5355339059327,-3.5355339059327 3.5355339059327,3.5355339059327#FF00002KGNAT.PKUNSTWERKdefaultgeometry-3.5355339059327,-3.5355339059327 3.5355339059327,3.5355339059327square#FF000010'; t.xml_eq(map.layers[1].params.SLD_BODY, expected_sld, "SLD generated correctly"); map.destroy();