From 848bfacc2d3d4b12e62808f454d6f5976eb5923b Mon Sep 17 00:00:00 2001 From: Raul Ochoa Date: Mon, 30 Mar 2015 12:15:26 +0200 Subject: [PATCH] no need to check it used post for long queries --- test/acceptance/multilayer.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/test/acceptance/multilayer.js b/test/acceptance/multilayer.js index e2fe35f3..5ba35ca7 100644 --- a/test/acceptance/multilayer.js +++ b/test/acceptance/multilayer.js @@ -25,7 +25,6 @@ suite(suiteName, function() { var cdbQueryTablesFromPostgresEnabledValue = true; var redis_client = redis.createClient(global.environment.redis.port); - var sqlapi_server; var expected_last_updated_epoch = 1234567890123; // this is hard-coded into SQLAPIEmu var expected_last_updated = new Date(expected_last_updated_epoch).toISOString(); @@ -1181,10 +1180,6 @@ suite(suiteName, function() { var parsedBody = JSON.parse(res.body); var token_components = parsedBody.layergroupid.split(':'); expected_token = token_components[0]; - if (!cdbQueryTablesFromPostgresEnabledValue) { // only test if it was using the SQL API - var last_request = sqlapi_server.getLastRequest(); - assert.equal(last_request.method, 'POST'); - } return null; }, function cleanup(err) {