@ -1,4 +1,3 @@
var _ = require('lodash'),
check = require('check-types'),
types = require('../query/types');
@ -14,7 +13,6 @@ function errorMessage(fieldname, message) {
}
function sanitize( raw, clean ){
// error & warning messages
var messages = { errors: [], warnings: [] };
// @todo: refactor this test, it's pretty messy, brittle and hard to follow
var place = require('../../../sanitiser/place'),
@ -72,7 +71,6 @@ module.exports.tests.sanitize_id = function(test, common) {
});
};
module.exports.tests.sanitize_ids = function(test, common) {
test('ids: invalid input', function(t) {
var req = { query: { id: inputs.invalid } };