Fix ported test by adding host header to request

This commit is contained in:
Daniel García Aubert 2018-03-16 18:18:06 +01:00
parent 3f88aaae64
commit 29936d76b1
2 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,7 @@ var ServerOptions = require('./support/ported_server_options');
var testClient = require('./support/test_client');
var TestClient = require('../../support/test-client');
describe.only('multilayer error cases', function() {
describe('multilayer error cases', function() {
var server = cartodbServer(ServerOptions);
server.setMaxListeners(0);

View File

@ -30,6 +30,7 @@ describe('multilayer interactivity and layers order', function() {
url: '/database/windshaft_test/layergroup',
method: 'POST',
headers: {
host: 'localhost',
'Content-Type': 'application/json'
},
data: JSON.stringify(layergroup)