re-organize no api key token provided tests - explain tests

This commit is contained in:
Eneko Lakasta 2018-05-08 14:41:16 +02:00
parent 1005126a5f
commit f60993b042

View File

@ -138,8 +138,8 @@ describe('Basic authorization use cases', function () {
);
});
describe('No api key provided fallback', function () {
it("succeed with default", function (done) {
describe('No api key provided - fallback to default_public', function () {
it("succeed with default - public dataset", function (done) {
var layergroup = singleLayergroupConfig(pointSqlPublic, '#layer { marker-fill:red; }');
assert.response(server,
@ -162,7 +162,7 @@ describe('Basic authorization use cases', function () {
);
});
it("fail with default", function (done) {
it("fail with default - private dataset", function (done) {
var layergroup = singleLayergroupConfig(pointSqlMaster, '#layer { marker-fill:red; }');
assert.response(server,