Revert "Fixed missing map key for named layers"

This reverts commit a4041524a3.
This commit is contained in:
Raul Ochoa 2016-02-04 16:26:32 +01:00
parent da51a173d7
commit d33ae29211

View File

@ -405,7 +405,7 @@ describe('named_layers', function() {
var next = this; var next = this;
assert.response(server, assert.response(server,
{ {
url: '/api/v1/map?map_key=1234', url: '/api/v1/map',
method: 'POST', method: 'POST',
headers: { headers: {
host: 'localhost', host: 'localhost',
@ -443,7 +443,7 @@ describe('named_layers', function() {
var next = this; var next = this;
assert.response(server, assert.response(server,
{ {
url: '/api/v1/map/' + layergroupId + '/0/0/0.png?map_key=1234', url: '/api/v1/map/' + layergroupId + '/0/0/0.png',
method: 'GET', method: 'GET',
headers: { headers: {
host: 'localhost' host: 'localhost'
@ -536,7 +536,7 @@ describe('named_layers', function() {
var next = this; var next = this;
assert.response(server, assert.response(server,
{ {
url: '/api/v1/map?map_key=1234', url: '/api/v1/map',
method: 'POST', method: 'POST',
headers: { headers: {
host: 'localhost', host: 'localhost',
@ -574,7 +574,7 @@ describe('named_layers', function() {
var next = this; var next = this;
assert.response(server, assert.response(server,
{ {
url: '/api/v1/map/' + layergroupId + '/0/0/0.png?map_key=1234', url: '/api/v1/map/' + layergroupId + '/0/0/0.png',
method: 'GET', method: 'GET',
headers: { headers: {
host: 'localhost' host: 'localhost'