Skip to content

Commit

Permalink
field_min_details needs index
Browse files Browse the repository at this point in the history
  • Loading branch information
ebeahan committed Nov 12, 2020
1 parent 02d568b commit c56c79b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/tests/unit/test_schema_cleaner.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def test_field_defaults(self):
cleaner.field_defaults({'field_details': field_details})
self.assertEqual(field_details['doc_values'], False)

field_details = {**field_min_details, **{'type': 'wildcard'}}
field_details = {**field_min_details, **{'type': 'wildcard', 'index': True}}
cleaner.field_defaults({'field_details': field_details})
self.assertNotIn('index', field_details)

Expand Down

0 comments on commit c56c79b

Please sign in to comment.