diff --git a/test/unit/controller/predicates/is_request_sources_only_whosonfirst.js b/test/unit/controller/predicates/is_request_sources_only_whosonfirst.js index bbf1aa44..24f861ad 100644 --- a/test/unit/controller/predicates/is_request_sources_only_whosonfirst.js +++ b/test/unit/controller/predicates/is_request_sources_only_whosonfirst.js @@ -31,15 +31,7 @@ module.exports.tests.true_conditions = (test, common) => { module.exports.tests.false_conditions = (test, common) => { test('undefined req should return false', (t) => { - const req = { - clean: { - sources: [ - 'not whosonfirst' - ] - } - }; - - t.notOk(is_request_sources_only_whosonfirst(req)); + t.notOk(is_request_sources_only_whosonfirst(undefined)); t.end(); });