Skip to content

Commit

Permalink
Fix datastore test
Browse files Browse the repository at this point in the history
  • Loading branch information
smotornyuk committed Jan 20, 2020
1 parent 3f63d33 commit 7d713c9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ckanext/datastore/tests/test_plugin.py
Expand Up @@ -96,8 +96,7 @@ def test_fts_rank_column_uses_lang_when_casting_to_tsvector(self):
u"to_tsvector('french', cast(\"country\" as text))"
)
data_dict = {"q": {"country": "Brazil"}, "lang": "french"}

result = self._datastore_search(data_dict=data_dict)
result = self._datastore_search(data_dict=data_dict, fields_types={})
assert expected_select_content in result["select"][0]

def test_adds_fts_on_full_text_field_when_q_is_a_string(self):
Expand Down

0 comments on commit 7d713c9

Please sign in to comment.