Fix windshaft provider tests
This commit is contained in:
parent
1aacc38d49
commit
f669429861
@ -305,7 +305,7 @@
|
||||
: successCallback(self.proccessTile(body, coord, zoom));
|
||||
} else {
|
||||
Profiler.metric('torque.provider.windshaft.tile.error').inc();
|
||||
callback(null);
|
||||
successCallback(null);
|
||||
}
|
||||
});
|
||||
},
|
||||
|
@ -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");
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user