From e44b5eaccdb29fd987d91f6d28e4b0b0f80101e2 Mon Sep 17 00:00:00 2001 From: Raul Ochoa Date: Tue, 22 Mar 2016 13:10:37 +0100 Subject: [PATCH] Fix test --- test/acceptance/analysis/analysis-layers.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/acceptance/analysis/analysis-layers.js b/test/acceptance/analysis/analysis-layers.js index 2d089cfc..7187e67c 100644 --- a/test/acceptance/analysis/analysis-layers.js +++ b/test/acceptance/analysis/analysis-layers.js @@ -176,8 +176,8 @@ describe('analysis-layers', function() { testClient.getLayergroup(PERMISSION_DENIED_RESPONSE, function(err, layergroupResult) { assert.ok(!err, err); - - assert.deepEqual(layergroupResult.errors, ["permission denied for relation cdb_tablemetadata"]); + // TODO add a better error message: Your requests requires API key as it needs write permissions. + assert.deepEqual(layergroupResult.errors, ["permission denied for relation cdb_analysis_catalog"]); testClient.drain(done); });