Skip to content
Snippets Groups Projects
Commit f3c5b941 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

unit test fixed

parent 8e3c8aef
No related branches found
No related tags found
1 merge request!335Resolve "minerva popup `Cannot read property 'getModel' of null`"
...@@ -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);
}); });
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment