Update test

This commit is contained in:
typicode
2016-11-21 02:39:29 +01:00
parent b5e4fcc9d2
commit f54de70738

View File

@ -120,7 +120,7 @@ module.exports = (db, name) => {
const path = key.replace(/(_lte|_gte|_ne|_like)$/, '') const path = key.replace(/(_lte|_gte|_ne|_like)$/, '')
const elementValue = _.get(element, path) const elementValue = _.get(element, path)
if (elementValue == null) { if (elementValue === undefined) {
return return
} }