Fix windshaft provider tests

This commit is contained in:
rubenmoya 2017-11-07 12:06:20 +01:00
parent 1aacc38d49
commit f669429861
2 changed files with 3 additions and 3 deletions

View File

@ -305,7 +305,7 @@
: successCallback(self.proccessTile(body, coord, zoom));
} else {
Profiler.metric('torque.provider.windshaft.tile.error').inc();
callback(null);
successCallback(null);
}
});
},

View File

@ -83,7 +83,7 @@ QUnit.module('provider.windshaft', {
test("fetch tile", function() {
windshaft._ready = true;
windshaft.getTileData({x: 0, y: 1, corrected: {x: 0, y: 1}}, 2, function() {});
windshaft.getTileData({x: 0, y: 1, corrected: {x: 0, y: 1}}, 2, function() {}, function() {});
equal(lastCall,"http://rambo.cartodb.com:80/api/v1/map/testlg/0/2/0/1.json.torque?testing=abcd%25");
});