From ba91df7f1b1f7b3e68c2b5f26cb42d310d5c6245 Mon Sep 17 00:00:00 2001 From: bartvde Date: Fri, 19 Mar 2010 10:02:08 +0000 Subject: [PATCH] fix up tests in Layer.html after clone method was changed, since the clone now represents the original in its current state, and not the state at creation, two tests had to be adapted, non-functional change (closes #2477) git-svn-id: http://svn.openlayers.org/trunk/openlayers@10120 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- tests/Layer.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Layer.html b/tests/Layer.html index 334af74dbc..1120cd543f 100644 --- a/tests/Layer.html +++ b/tests/Layer.html @@ -64,8 +64,8 @@ layer.addOptions({chicken:152}); t.eq(clone.options["chicken"], 151, "made a clean copy of options"); - t.ok( (layer.maxResolution != clone.maxResolution), "maxresolution of clone reset to new map div"); - t.ok( (layer.minResolution != clone.minResolution), "minresolution of clone reset to new map div"); + t.ok( (layer.maxResolution == clone.maxResolution), "maxresolution of clone equals maxresolution of original"); + t.ok( (layer.minResolution == clone.minResolution), "minresolution of clone equals minresolution of original"); mapone.destroy(); maptwo.destroy();