From 06282b61fb8943896dccf0468e6f133834b62a5b Mon Sep 17 00:00:00 2001 From: Eneko Lakasta Date: Tue, 5 Jun 2018 13:22:43 +0200 Subject: [PATCH] refactor authenticatedRequest to masterRequest --- test/acceptance/query-tables-api-cache.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/acceptance/query-tables-api-cache.js b/test/acceptance/query-tables-api-cache.js index caf89bbc..8a9af9a1 100644 --- a/test/acceptance/query-tables-api-cache.js +++ b/test/acceptance/query-tables-api-cache.js @@ -74,7 +74,7 @@ describe('query-tables-api', function() { }); it('should skip cache to retrieve affected tables', function(done) { - var authenticatedRequest = { + var masterRequest = { url: '/api/v1/sql?' + qs.stringify({ q: 'SELECT * FROM untitle_table_4', api_key: '1234' @@ -84,7 +84,7 @@ describe('query-tables-api', function() { }, method: 'GET' }; - assert.response(server, authenticatedRequest, RESPONSE_OK, function(err) { + assert.response(server, masterRequest, RESPONSE_OK, function(err) { assert.ok(!err, err); getCacheStatus(function(err, cacheStatus) {