mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-12 01:03:11 +00:00
Fixes an elasticsearch 5 test.
This commit is contained in:
parent
bd6cb6dad7
commit
f9cc020ded
1 changed files with 1 additions and 1 deletions
|
|
@ -122,7 +122,7 @@ class TestElasticsearch5SearchQuery(TestCase):
|
|||
# Check it
|
||||
expected_result = {'bool': {
|
||||
'filter': {'match': {'content_type': 'searchtests.Book'}},
|
||||
'query': {'match': {'title': {'query': 'Hello'}}}
|
||||
'must': {'match': {'title': {'query': 'Hello'}}}
|
||||
}}
|
||||
self.assertDictEqual(query_compiler.get_query(), expected_result)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue