From 36282de16bec761002965bf8d1876c2ee7d3eb48 Mon Sep 17 00:00:00 2001 From: Vincent Schoettke Date: Thu, 28 Aug 2014 20:34:09 +0200 Subject: [PATCH] Fixed integration now close connections --- test/knexfile.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/knexfile.js b/test/knexfile.js index c3937c27c..857fb7cd7 100644 --- a/test/knexfile.js +++ b/test/knexfile.js @@ -10,8 +10,9 @@ var pool = { expect(connection).to.have.property('__cid'); callback(null, connection); }, - beforeDestroy: function(connection) { + beforeDestroy: function(connection, continueFunc) { expect(connection).to.have.property('__cid'); + continueFunc(); } };