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:
Liane Hampe 2021-02-19 11:15:14 +01:00
parent f4363f841d
commit 3f16574dd3

View File

@ -39,6 +39,8 @@ module RedmineDmsf
send "copy_#{name}", project send "copy_#{name}", project
end end
save save
else
false
end end
end end