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
This commit is contained in:
bartvde
2010-03-19 10:02:08 +00:00
parent 48ba06b294
commit ba91df7f1b

View File

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