From a127ff8d89a03c1d9b674ac7089d0b1a06aa61e6 Mon Sep 17 00:00:00 2001 From: Raul Ochoa Date: Fri, 25 Sep 2015 14:44:17 +0200 Subject: [PATCH] Remove redis keys after each test --- test/acceptance/ported/multilayer_error_cases.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/acceptance/ported/multilayer_error_cases.js b/test/acceptance/ported/multilayer_error_cases.js index 2434900d..47dc66f3 100644 --- a/test/acceptance/ported/multilayer_error_cases.js +++ b/test/acceptance/ported/multilayer_error_cases.js @@ -1,4 +1,4 @@ -require('../../support/test_helper'); +var testHelper = require('../../support/test_helper'); var assert = require('../../support/assert'); var step = require('step'); @@ -396,7 +396,7 @@ describe('multilayer error cases', function() { testClient.getGrid(mapConfig, 1, 13, 4011, 3088, defaultErrorExpectedResponse, function(err, res) { assert.deepEqual(JSON.parse(res.body), { errors: ["Layer '1' not found in layergroup"] }); - done(); + testHelper.deleteRedisKeys({'user:localhost:mapviews:global': 5}, done); }); });