diff --git a/tests/test_querytestcase.py b/tests/test_querytestcase.py index 173b47c..637a14f 100644 --- a/tests/test_querytestcase.py +++ b/tests/test_querytestcase.py @@ -104,7 +104,7 @@ def test_search_all_indexes(self): def test_search_one_index_that_has_item(self): query = { "query": { - "text": { + "match": { "name": "Agnessa" } } @@ -117,7 +117,7 @@ def test_search_one_index_that_has_item(self): def test_search_one_index_that_doesnt_have_item(self): query = { "query": { - "text": { + "match": { "name": "Agnessa" } }