Update tests and ensure tests are run regardless of exp flag

This commit is contained in:
Peter Theill
2016-02-11 01:32:38 +01:00
parent 930573bb47
commit 1d576bcc9f
3 changed files with 5 additions and 25 deletions

View File

@@ -27,7 +27,7 @@ function updateGlobalConfig(req) {
}
return req.config.database.rawCollection('_GlobalConfig')
.then(coll => coll.findOneAndUpdate({ _id: 1 }, { $set: req.body }, { returnOriginal: false }))
.then(coll => coll.findOneAndUpdate({ _id: 1 }, { $set: req.body }))
.then(response => {
return { response: { result: true } }
})