Fix ported test by adding host header to request
This commit is contained in:
parent
3f88aaae64
commit
29936d76b1
@ -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);
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user