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(); } };