From bf325c38b44671deacafcb1ab735004906bfe422 Mon Sep 17 00:00:00 2001 From: Bruno Binet Date: Sun, 3 Mar 2013 20:38:40 +0100 Subject: [PATCH] Fix tests related to createBboxParam. --- test/spec/ol/tileurlfunction.test.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/spec/ol/tileurlfunction.test.js b/test/spec/ol/tileurlfunction.test.js index b11180f811..62f245f5c9 100644 --- a/test/spec/ol/tileurlfunction.test.js +++ b/test/spec/ol/tileurlfunction.test.js @@ -75,7 +75,8 @@ describe('ol.TileUrlFunction', function() { var tileCoord = new ol.TileCoord(1, 0, 0); var tileUrl = tileUrlFunction(tileCoord); var expected = 'http://wms?foo=bar&BBOX=-20037508.342789244' + - '%2C20037508.342789244%2C0%2C40075016.68557849'; + '%2C20037508.342789244%2C0%2C40075016.68557849' + + '&HEIGHT=256&WIDTH=256'; expect(tileUrl).toEqual(expected); }); it('creates expected URL respecting axis orientation', function() { @@ -85,7 +86,8 @@ describe('ol.TileUrlFunction', function() { var tileCoord = new ol.TileCoord(1, 0, 0); var tileUrl = tileUrlFunction(tileCoord); var expected = 'http://wms?foo=bar&BBOX=20037508.342789244' + - '%2C-20037508.342789244%2C40075016.68557849%2C0'; + '%2C-20037508.342789244%2C40075016.68557849%2C0' + + '&HEIGHT=256&WIDTH=256'; expect(tileUrl).toEqual(expected); }); });