dont create indices after every test

v1.18.x
Barış Soner Uşaklı 8 years ago
parent 21d2e6df12
commit 271c10c9d7

@ -87,6 +87,9 @@ before(function (done) {
function (next) {
db.init(next);
},
function (next) {
db.createIndices(next);
},
function (next) {
setupMockDefaults(next);
},
@ -146,9 +149,6 @@ function setupMockDefaults(callback) {
function (next) {
db.emptydb(next);
},
function (next) {
db.createIndices(next);
},
function (next) {
winston.info('test_database flushed');
setupDefaultConfigs(meta, next);

Loading…
Cancel
Save