diff --git a/test/search.js b/test/search.js index b58702bb38..e86d48bc48 100644 --- a/test/search.js +++ b/test/search.js @@ -183,7 +183,7 @@ describe('Search', () => { it('should fail if searchIn is wrong', (done) => { search.search({ query: 'plug', - searchIn: 'invalidfilter', + searchIn: '', }, (err) => { assert.equal(err.message, '[[error:unknown-search-filter]]'); done();