Fix test to use expected hostname

This commit is contained in:
Sandro Santilli
2012-09-19 18:13:28 +02:00
parent adf1124e70
commit e1e5bb413e
+2 -2
View File
@@ -216,7 +216,7 @@ suite('server', function() {
// Retrive style with authenticated request
assert.response(server, {
headers: {host: 'localhost'},
headers: {host: 'vizzuality'},
url: '/tiles/my_table5/style?map_key=1234',
method: 'GET'
},{}, function(res) {
@@ -225,7 +225,7 @@ suite('server', function() {
// Now retrive style with unauthenticated request
assert.response(server, {
headers: {host: 'localhost'},
headers: {host: 'vizzuality'},
url: '/tiles/my_table5/style',
method: 'GET'
}, {}, function(res) {