From 04f2b3848833c525660e65233996570077517c7c Mon Sep 17 00:00:00 2001 From: Valerio Cosentino Date: Tue, 31 Mar 2020 13:04:06 +0200 Subject: [PATCH] [tests] Update test_all_properties in test_elastic 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 --- tests/test_elastic.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tests/test_elastic.py b/tests/test_elastic.py index 799e8b064..c49ac85e5 100644 --- a/tests/test_elastic.py +++ b/tests/test_elastic.py @@ -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)