From c16d0b86051361428e1a58a7a7a1f46ae2b39181 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Garc=C3=ADa=20Aubert?= Date: Tue, 14 Jun 2016 10:50:50 +0200 Subject: [PATCH] Fixed broken tests --- test/acceptance/analysis/error-cases.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/acceptance/analysis/error-cases.js b/test/acceptance/analysis/error-cases.js index 4358b1cb..c876f147 100644 --- a/test/acceptance/analysis/error-cases.js +++ b/test/acceptance/analysis/error-cases.js @@ -116,7 +116,7 @@ describe('analysis-layers error cases', function() { 'Analysis requires authentication with API key: permission denied.' ); - assert.equal(layergroupResult.errors_with_context[0].context.type, 'camshaft'); + assert.equal(layergroupResult.errors_with_context[0].context.type, 'analysis'); assert.equal(layergroupResult.errors_with_context[0].context.analysis.index, 0); assert.equal(layergroupResult.errors_with_context[0].context.analysis.id, 'HEAD'); assert.equal(layergroupResult.errors_with_context[0].context.analysis.type, 'buffer'); @@ -169,7 +169,7 @@ describe('analysis-layers error cases', function() { 'Missing required param "radius"' ); - assert.equal(layergroupResult.errors_with_context[0].context.type, 'camshaft'); + assert.equal(layergroupResult.errors_with_context[0].context.type, 'analysis'); assert.equal(layergroupResult.errors_with_context[0].context.analysis.index, 0); assert.equal(layergroupResult.errors_with_context[0].context.analysis.id, 'HEAD'); assert.equal(layergroupResult.errors_with_context[0].context.analysis.type, 'buffer');