refactor authenticatedRequest to masterRequest

This commit is contained in:
Eneko Lakasta 2018-06-05 13:22:43 +02:00
parent eab3d289b6
commit 06282b61fb

View File

@ -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) {