Commit f3c5b941 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

unit test fixed

parent 8e3c8aef
...@@ -93,7 +93,7 @@ describe('SearchDbOverlay', function () { ...@@ -93,7 +93,7 @@ describe('SearchDbOverlay', function () {
var query = searchDb.encodeQuery(queryType, -1, point, 2); var query = searchDb.encodeQuery(queryType, -1, point, 2);
return searchDb.searchByEncodedQuery(query); return searchDb.searchByEncodedQuery(query);
}).then(function (result) { }).then(function (result) {
assert.equal(logger.getWarnings().length, 1); assert.ok(logger.getWarnings().length > 0);
assert.equal(result.length, 0); assert.equal(result.length, 0);
}); });
}); });
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment