From d1ba4a1759d06397dbd7fe87972e46fa1e3a351b Mon Sep 17 00:00:00 2001 From: Eneko Lakasta Date: Thu, 12 Apr 2018 17:41:07 +0200 Subject: [PATCH] remove unnecessary test --- test/acceptance/auth/authorization.js | 28 ++------------------------- 1 file changed, 2 insertions(+), 26 deletions(-) diff --git a/test/acceptance/auth/authorization.js b/test/acceptance/auth/authorization.js index 37407531..2974d36d 100644 --- a/test/acceptance/auth/authorization.js +++ b/test/acceptance/auth/authorization.js @@ -37,31 +37,6 @@ describe('authorization', function() { }); }); - it.skip('should create and get a named map tile using a regular apikey token', function (done) { - const apikeyToken = 'regular1'; - const mapConfig = { - version: '1.7.0', - layers: [ - { - options: { - sql: 'select * FROM test_table_localhost_regular1', - cartocss: TestClient.CARTOCSS.POINTS, - cartocss_version: '2.3.0' - } - } - ] - }; - const testClient = new TestClient(mapConfig, apikeyToken); - - testClient.getTile(0, 0, 0, function (err, res, tile) { - assert.ifError(err); - - assert.equal(res.statusCode, 200); - assert.ok(tile instanceof mapnik.Image); - - testClient.drain(done); - }); - }); it('should fail getting a named map tile with default apikey token', function (done) { const apikeyTokenCreate = 'regular1'; @@ -353,7 +328,8 @@ describe('authorization', function() { testClient.drain(done); }); }); - describe.only('Named maps', function () { + + describe('Named maps', function () { describe('LIST Named maps', function () { it('should fail while listing named maps with a regular apikey token', function (done) {