Skip to content

Commit

Permalink
[tests] Update test_all_properties in test_elastic
Browse files Browse the repository at this point in the history
This code updates the expected results of the test
test_all_properties. This change is needed to match
the new mappings, which doesn't index the `data`
attribute.

Signed-off-by: Valerio Cosentino <[email protected]>
  • Loading branch information
valeriocos committed Mar 31, 2020
1 parent 8493671 commit 04f2b38
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions tests/test_elastic.py
Original file line number Diff line number Diff line change
Expand Up @@ -552,11 +552,8 @@ def test_all_properties(self):

expected_properties = {
'data': {
'properties': {
'message': {
'type': 'text'
}
}
'type': 'object',
'dynamic': 'false'
}
}
elastic = ElasticSearch(self.es_con, self.target_index, GitOcean.mapping)
Expand Down

0 comments on commit 04f2b38

Please sign in to comment.