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:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user