Browse Source

Dedupe unit test data for testing missing attributes

Test data has two otherwise identical entries, but the latter
one lacks some attributes. It should be considered as a duplicate.
pull/444/head
Vesa Meskanen 9 years ago
parent
commit
6430930cb5
  1. 23
      test/unit/fixture/dedupe_elasticsearch_results.js

23
test/unit/fixture/dedupe_elasticsearch_results.js

@ -291,5 +291,28 @@ module.exports = [
'_type': 'venue', '_type': 'venue',
'_score': 0.9724125, '_score': 0.9724125,
'confidence': 0.649 'confidence': 0.649
},
{ // same as above, but with some missing attributes. Should be considered as duplicate.
'center_point': {
'lon': -81.532392,
'lat': 40.597578
},
'address': {},
'name': {
'default': 'Strasburg High School'
},
'parent': {
'localadmin': 'Franklin',
'region_a': 'OH',
'region': 'Ohio'
},
'category': [
'education'
],
'_id': '356646971',
'_type': 'venue',
'_score': 0.9724125,
'confidence': 0.649
} }
]; ];

Loading…
Cancel
Save