mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 00:14:50 +00:00
test: search test failing because of stale data (#31098)
This commit is contained in:
@@ -8,6 +8,7 @@ class TestSearch(unittest.TestCase):
|
|||||||
# Search for the word "cond", part of the word "conduire" (Lead) in french.
|
# Search for the word "cond", part of the word "conduire" (Lead) in french.
|
||||||
def test_contact_search_in_foreign_language(self):
|
def test_contact_search_in_foreign_language(self):
|
||||||
try:
|
try:
|
||||||
|
frappe.local.lang_full_dict = None # reset cached translations
|
||||||
frappe.local.lang = "fr"
|
frappe.local.lang = "fr"
|
||||||
output = filter_dynamic_link_doctypes(
|
output = filter_dynamic_link_doctypes(
|
||||||
"DocType", "cond", "name", 0, 20, {"fieldtype": "HTML", "fieldname": "contact_html"}
|
"DocType", "cond", "name", 0, 20, {"fieldtype": "HTML", "fieldname": "contact_html"}
|
||||||
|
|||||||
Reference in New Issue
Block a user