mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-17 00:25:01 +00:00
test: fix test case
This commit is contained in:
@@ -33,7 +33,7 @@ def create_goal():
|
||||
goal_exist = frappe.db.exists("Quality Goal", {"goal": goal.goal})
|
||||
if not goal_exist:
|
||||
goal.insert()
|
||||
return goal
|
||||
return goal.name
|
||||
else:
|
||||
return goal_exist
|
||||
|
||||
|
||||
Reference in New Issue
Block a user