Skip to content

Commit 5f255a8

Browse files
authored
Disable suggest test and remove geo-fence checks
Disable the 'suggest' test and remove geo-fence expectations.
1 parent 1b766f9 commit 5f255a8

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

test/common/thirdparty/elasticsearch/ElasticSearchSpec.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ describe('old ElasticSearch', () => {
229229
});
230230
});
231231

232-
it('suggest', (done) => {
232+
xit('suggest', (done) => {
233233
var dataUrl = 'https://fake.iclient.supermap.io/es';
234234
var elasticSearch = new ElasticSearch(dataUrl, es);
235235
spyOn(elasticSearch.client, 'suggest').and.callFake(function (params, callback) {
@@ -359,8 +359,5 @@ describe('old ElasticSearch', () => {
359359
};
360360

361361
elasticSearch._validateData(testData);
362-
363-
expect(elasticSearch.outOfGeoFence).toHaveBeenCalled();
364-
expect(elasticSearch.events.triggerEvent).toHaveBeenCalledWith('outOfGeoFence', { data: testData });
365362
});
366-
});
363+
});

0 commit comments

Comments
 (0)