Fix copy/paste test

This commit is contained in:
Rafa de la Torre 2018-07-20 16:17:44 +02:00
parent ce409b4925
commit fdab0136e6

View File

@ -460,7 +460,7 @@ describe('copy-endpoints', function() {
});
});
if('COPY TO can take longer than regular statement_timeout', function(done) {
it('COPY TO can take longer than regular statement_timeout', function(done) {
assert.response(server, {
url: "/api/v1/sql/copyto?" + querystring.stringify({
q: 'COPY copy_endpoints_test TO STDOUT',
@ -470,7 +470,7 @@ describe('copy-endpoints', function() {
method: 'GET'
}, {}, function(err, res) {
assert.ifError(err);
assert.ok(res.body);
assert.ok(res.statusCode === 200);
done();
});
});