Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix test data.PrintProvider

  • Loading branch information...
commit 12ed0569f58c6cbb4fc030a6c5b438ec2e4a68f3 1 parent 8dd05e8
@adube adube authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 tests/data/PrintProvider.html
View
6 tests/data/PrintProvider.html
@@ -19,8 +19,8 @@
'GeoExt.data.PrintPage',
'GeoExt.data.PrintProvider',
'GeoExt.panel.Legend',
- 'GeoExt.container.WMSLegend',
- 'GeoExt.container.URLLegend',
+ 'GeoExt.container.WmsLegend',
+ 'GeoExt.container.UrlLegend',
'GeoExt.container.VectorLegend'
]);
@@ -113,7 +113,7 @@
var getAbsoluteUrl = GeoExt.data.PrintProvider.prototype.getAbsoluteUrl;
var baseUrl = parent.location.href.substr(0, parent.location.href.indexOf("/tests/run-tests.html"));
t.eq(getAbsoluteUrl("/foo/bar.html"), location.protocol + "//" + location.host + (location.port && ":" + location.port) + "/foo/bar.html", "Relative url converted to absolute url correctly.");
- t.eq(getAbsoluteUrl("../../../../bar.html"), baseUrl + "/bar.html", "Relative url with relative path converted to absolute url correctly.");
+ t.eq(getAbsoluteUrl("../../bar.html"), baseUrl + "/bar.html", "Relative url with relative path converted to absolute url correctly.");
}
function test_print(t) {
Please sign in to comment.
Something went wrong with that request. Please try again.