Change ProjectPatch#copy
The RedmineDmsf::Patches::ProjectPatch#copy method override misses to return a final false. This missing boolean of false cause a Redmine core test to fail. This little change fixes the failing core test: ProjectCopyTest#test_copy_should_return_false_if_save_fails.
This commit is contained in:
parent
f4363f841d
commit
3f16574dd3
@ -39,6 +39,8 @@ module RedmineDmsf
|
|||||||
send "copy_#{name}", project
|
send "copy_#{name}", project
|
||||||
end
|
end
|
||||||
save
|
save
|
||||||
|
else
|
||||||
|
false
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user