Missed another broken test. I should really build in broken-test reporting.
git-svn-id: http://svn.openlayers.org/trunk/openlayers@1911 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -108,7 +108,7 @@
|
|||||||
tUrl = "http://octo.metacarta.com/cgi-bin/mapserv?param1=5";
|
tUrl = "http://octo.metacarta.com/cgi-bin/mapserv?param1=5";
|
||||||
layer = new OpenLayers.Layer.HTTPRequest(name, tUrl, tParams, null);
|
layer = new OpenLayers.Layer.HTTPRequest(name, tUrl, tParams, null);
|
||||||
str = layer.getFullRequestString();
|
str = layer.getFullRequestString();
|
||||||
t.eq(str, "http://octo.metacarta.com/cgi-bin/mapserv?param1=5&layers=basic&format=image/png", "getFullRequestString() works for url with ?param1=5");
|
t.eq(str, tUrl + '&' + OpenLayers.Util.getParameterString(tParams), "getFullRequestString() works for url with ?param1=5");
|
||||||
|
|
||||||
// with ?param1=5&
|
// with ?param1=5&
|
||||||
tUrl = "http://octo.metacarta.com/cgi-bin/mapserv?param1=5&format=image/jpeg";
|
tUrl = "http://octo.metacarta.com/cgi-bin/mapserv?param1=5&format=image/jpeg";
|
||||||
|
|||||||
Reference in New Issue
Block a user