From 6e3eb8ef288bad7b9e7c807e855720380f89a1bb Mon Sep 17 00:00:00 2001 From: Eneko Lakasta Date: Wed, 30 May 2018 11:48:15 +0200 Subject: [PATCH] Fix test: add auth params to job --- test/acceptance/batch/batch-drain.test.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/test/acceptance/batch/batch-drain.test.js b/test/acceptance/batch/batch-drain.test.js index 9a1cf0d2..cbb83e99 100644 --- a/test/acceptance/batch/batch-drain.test.js +++ b/test/acceptance/batch/batch-drain.test.js @@ -37,7 +37,11 @@ describe('batch module', function() { var data = { user: username, query: sql, - host: dbInstance + host: dbInstance, + dbname: 'cartodb_test_user_1_db', + dbuser: 'test_cartodb_user_1', + port: 5432, + pass: 'test_cartodb_user_1_pass', }; jobService.create(data, function (err, job) { @@ -60,7 +64,6 @@ describe('batch module', function() { if (err) { done(err); } - assert.equal(job.status, 'running'); self.batch.drain(function () {