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 tests with indifferent access to details hash

Christophe Bliard5440c8bfc2b1
diff --git a/lib_static/plugins/acts_as_journalized/lib/journal_changes.rb b/lib_static/plugins/acts_as_journalized/lib/journal_changes.rb
index 77c4569300e..6ffb3f15ef2 100644
--- a/lib_static/plugins/acts_as_journalized/lib/journal_changes.rb
+++ b/lib_static/plugins/acts_as_journalized/lib/journal_changes.rb
@@ -40,7 +40,7 @@ module JournalChanges
get_agenda_items_changes
].compact
- @changes = changes.reduce({}, :merge!)
+ @changes = changes.reduce({}.with_indifferent_access, :merge!)
end
def get_cause_changes