Tweak testcase to succeed with gdal-1.10

Absence of geometry column triggers a different behavior in 1.9 and 1.10
This commit is contained in:
Sandro Santilli 2013-09-23 13:23:16 +02:00
parent f30837298e
commit 531dd4b002

View File

@ -63,7 +63,7 @@ test('SHP format, big size, POST', function(done){
assert.response(app, {
url: '/api/v1/sql',
data: querystring.stringify({
q: 'SELECT 0 as fname FROM generate_series(0,81920)',
q: 'SELECT 0 as fname, st_makepoint(i,i) FROM generate_series(0,81920) i',
format: 'shp'
}),
headers: {host: 'vizzuality.cartodb.com', 'Content-Type': 'application/x-www-form-urlencoded' },