From 21cbfff2c79c92de9f9af03e4414da59f40bf780 Mon Sep 17 00:00:00 2001 From: euzuro Date: Sun, 21 May 2006 17:53:11 +0000 Subject: [PATCH] popup no longer needs a reference to its map git-svn-id: http://svn.openlayers.org/trunk/openlayers@230 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- tests/test_Map.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/test_Map.html b/tests/test_Map.html index 8cd4e80cc2..e3d144d3cc 100644 --- a/tests/test_Map.html +++ b/tests/test_Map.html @@ -75,7 +75,7 @@ } function test_07_Map_add_remove_popup (t) { - t.plan(5); + t.plan(4); map = new OpenLayers.Map('map'); @@ -84,7 +84,6 @@ new OpenLayers.Size(200,200)); map.addPopup(popup); - t.ok((popup.map == map), "popup's reference back to map set correctly"); t.eq(map.popups.indexOf(popup), 0, "popup successfully added to Map's internal popups array"); var nodes = map.viewPortDiv.childNodes;