Skip to content

Commit db06fc6

Browse files
committed
Fix field naming in typo tolerance
1 parent f0eca61 commit db06fc6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/settings/test_settings_typo_tolerance_meilisearch.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
DEFAUT_TYPO_TOLERANCE = {
22
'enabled': True,
3-
'minWordLengthForTypo': {
3+
'minWordSizeForTypos': {
44
'oneTypo': 5,
55
'twoTypos': 9,
66
},
@@ -10,7 +10,7 @@
1010

1111
NEW_TYPO_TOLERANCE = {
1212
'enabled': True,
13-
'minWordLengthForTypo': {
13+
'minWordSizeForTypos': {
1414
'oneTypo': 6,
1515
'twoTypos': 10,
1616
},
@@ -23,6 +23,7 @@ def test_get_typo_tolerance_default(empty_index):
2323
response = empty_index().get_typo_tolerance()
2424
assert isinstance(response, dict)
2525
assert response == DEFAUT_TYPO_TOLERANCE
26+
print(response)
2627

2728
def test_update_typo_tolerance(empty_index):
2829
"""Tests updating typo_tolerance."""

0 commit comments

Comments
 (0)