test: fix test case
This commit is contained in:
parent
9f458e3413
commit
b114d9f621
@ -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
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user