Fixed missing map key for named layers

This commit is contained in:
Daniel García Aubert
2016-02-01 16:29:36 +01:00
parent feef31d1bf
commit a4041524a3
+4 -4
View File
@@ -405,7 +405,7 @@ describe('named_layers', function() {
var next = this;
assert.response(server,
{
url: '/api/v1/map',
url: '/api/v1/map?map_key=1234',
method: 'POST',
headers: {
host: 'localhost',
@@ -443,7 +443,7 @@ describe('named_layers', function() {
var next = this;
assert.response(server,
{
url: '/api/v1/map/' + layergroupId + '/0/0/0.png',
url: '/api/v1/map/' + layergroupId + '/0/0/0.png?map_key=1234',
method: 'GET',
headers: {
host: 'localhost'
@@ -536,7 +536,7 @@ describe('named_layers', function() {
var next = this;
assert.response(server,
{
url: '/api/v1/map',
url: '/api/v1/map?map_key=1234',
method: 'POST',
headers: {
host: 'localhost',
@@ -574,7 +574,7 @@ describe('named_layers', function() {
var next = this;
assert.response(server,
{
url: '/api/v1/map/' + layergroupId + '/0/0/0.png',
url: '/api/v1/map/' + layergroupId + '/0/0/0.png?map_key=1234',
method: 'GET',
headers: {
host: 'localhost'