improving name dropTableOptions

This commit is contained in:
Simon Martín 2018-06-20 18:39:17 +02:00
parent 5b87defb97
commit 50da363ae0

View File

@ -89,13 +89,13 @@ describe('Cancel "copy to" commands', function () {
const dropTable = querystring.stringify({ q: dropTableQuery, api_key: 1234 });
const createTableOptions = {
const dropTableOptions = {
url: `http://${host}:${port}/api/v1/sql?${dropTable}`,
headers: { host: 'vizzuality.cartodb.com' },
method: 'GET'
};
request(createTableOptions, function (err, res) {
request(dropTableOptions, function (err, res) {
if (err) {
return done(err);
}