mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-23 15:09:20 +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})
|
goal_exist = frappe.db.exists("Quality Goal", {"goal": goal.goal})
|
||||||
if not goal_exist:
|
if not goal_exist:
|
||||||
goal.insert()
|
goal.insert()
|
||||||
return goal
|
return goal.name
|
||||||
else:
|
else:
|
||||||
return goal_exist
|
return goal_exist
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user