Controls need updating. This update should fix the tests from the attribution

control addition. This should be fixed better -- specifying the index is the
wrong way to test this.  


git-svn-id: http://svn.openlayers.org/trunk/openlayers@4337 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
crschmidt
2007-09-16 16:43:25 +00:00
parent 8a3fb3dce3
commit 65466b0c27
5 changed files with 13 additions and 13 deletions

View File

@@ -65,7 +65,7 @@
t.ok( control instanceof OpenLayers.Control.Permalink, "new OpenLayers.Control returns object" );
map = new OpenLayers.Map('map');
map.addControl(control);
t.eq(map.controls[3].div.firstChild.nodeName, "A", "Permalink control creates div with 'a' inside." );
t.eq(map.controls[4].div.firstChild.nodeName, "A", "Permalink control creates div with 'a' inside." );
}
function test_05_Control_Permalink_base_with_query (t) {
t.plan( 3 );