[OpenLayers-Commits] r12038 - trunk/openlayers/tests/Layer
commits-20090109 at openlayers.org
commits-20090109 at openlayers.org
Fri Jun 3 11:10:19 EDT 2011
Author: ahocevar
Date: 2011-06-03 08:10:18 -0700 (Fri, 03 Jun 2011)
New Revision: 12038
Modified:
trunk/openlayers/tests/Layer/Bing.html
Log:
adding options so we don't use a null api key
Modified: trunk/openlayers/tests/Layer/Bing.html
===================================================================
--- trunk/openlayers/tests/Layer/Bing.html 2011-06-03 11:28:49 UTC (rev 12037)
+++ trunk/openlayers/tests/Layer/Bing.html 2011-06-03 15:10:18 UTC (rev 12038)
@@ -22,7 +22,9 @@
log.push(script.src);
origProcessMetadata.apply(this, arguments);
};
- layer = new OpenLayers.Layer.Bing({metadataParams: {foo: "bar"}});
+ layer = new OpenLayers.Layer.Bing(OpenLayers.Util.extend({
+ metadataParams: {foo: "bar"}
+ }, options));
t.ok(layer instanceof OpenLayers.Layer.Bing, "returns OpenLayers.Layer.Bing object" );
t.delay_call(5, function() {
t.eq(log.length, 1, "processMetadata called");
More information about the Commits
mailing list