test: fix test

isekai-main
Barış Soner Uşaklı 2 years ago
parent b5d38bc696
commit c833d3cdc4

@ -183,7 +183,7 @@ describe('Search', () => {
it('should fail if searchIn is wrong', (done) => { it('should fail if searchIn is wrong', (done) => {
search.search({ search.search({
query: 'plug', query: 'plug',
searchIn: 'invalidfilter', searchIn: '',
}, (err) => { }, (err) => {
assert.equal(err.message, '[[error:unknown-search-filter]]'); assert.equal(err.message, '[[error:unknown-search-filter]]');
done(); done();

Loading…
Cancel
Save