test: update test_multiple_tables_in_filters

This commit is contained in:
saxenabhishek 2022-04-26 15:59:50 +05:30
parent 36de21c059
commit ba51289c37

View file

@ -16,5 +16,5 @@ class TestQuery(unittest.TestCase):
["DocType", "parent", "=", "something"],
],
).get_sql(),
"SELECT * FROM `tabDocType` WHERE `tabBOM Update Log`.`name` LIKE 'f%' AND `tabDocType`.`parent`='something'",
"SELECT * FROM `tabDocType` LEFT JOIN `tabBOM Update Log` ON `tabBOM Update Log`.`parent`=`tabDocType`.`name` WHERE `tabBOM Update Log`.`name` LIKE 'f%' AND `tabDocType`.`parent`='something'",
)