refactor authenticatedRequest to masterRequest
This commit is contained in:
parent
eab3d289b6
commit
06282b61fb
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user