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

Change notification4 to be included in recipient's setting

Oliver Güntheracb7ebec3df7
diff --git a/spec/features/notifications/notification_center/notification_center_spec.rb b/spec/features/notifications/notification_center/notification_center_spec.rb
index 6c31b920758..228bc210ddc 100644
--- a/spec/features/notifications/notification_center/notification_center_spec.rb
+++ b/spec/features/notifications/notification_center/notification_center_spec.rb
@@ -125,7 +125,7 @@ describe "Notification center", type: :feature, js: true, with_settings: { journ
work_package2.journals.last.notifications.first
end
let(:notification4) do
- work_package.subject = 'Changing the subject'
+ work_package.journal_notes = 'Another notification is created here on wp 1'
work_package.save!
# Will have been created via the JOURNAL_CREATED event listeners