Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Fix test

Christophe Bliard5ce9137c9d84
diff --git a/spec/models/mail_handler_spec.rb b/spec/models/mail_handler_spec.rb
index 35c63356b52..e1d382b27d8 100644
--- a/spec/models/mail_handler_spec.rb
+++ b/spec/models/mail_handler_spec.rb
@@ -794,7 +794,7 @@ describe MailHandler, type: :model do
"status_id" => [original_status.id, resolved_status.id],
"assigned_to_id" => [nil, other_user.id],
"start_date" => [nil, Date.parse("Fri, 01 Jan 2010")],
- "duration" => [1, 365],
+ "duration" => [nil, 365],
"custom_fields_#{float_cf.id}" => [nil, "52.6"]
)
end