test: fix test_set_field_tables
removed amount_field from groupby and fields
This commit is contained in:
parent
83fe747f75
commit
91b04c2154
1 changed files with 1 additions and 2 deletions
|
|
@ -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,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue