make tests finish

database.uninitialize must be called to drop the connection
This commit is contained in:
Girish Ramakrishnan
2017-11-27 11:48:36 -08:00
parent b6c20877ea
commit efe75f0c4e
14 changed files with 62 additions and 29 deletions
+4 -1
View File
@@ -80,7 +80,10 @@ function setup(done) {
function cleanup(done) {
mailer._clearMailQueue();
database._clear(done);
async.series([
database._clear,
database.uninitialize
], done);
}
function checkMails(number, options, callback) {