test: fix test_set_field_tables

removed amount_field from groupby and fields
This commit is contained in:
phot0n 2022-07-23 16:16:06 +05:30
parent 83fe747f75
commit 91b04c2154

View file

@ -516,8 +516,7 @@ class TestReportview(unittest.TestCase):
data = frappe.db.get_list(
"Web Form",
filters=[["Web Form Field", "reqd", "=", 1]],
group_by="amount_field",
fields=["count(*) as count", "`amount_field` as name"],
fields=["count(*) as count"],
order_by="count desc",
limit=50,
)