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})
|
||||
if not goal_exist:
|
||||
goal.insert()
|
||||
return goal
|
||||
return goal.name
|
||||
else:
|
||||
return goal_exist
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user