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

Merge remote-tracking branch 'origin/release/14.4' into dev

ulferts80408a5827b8
diff --cc spec/features/notifications/notification_center/notification_center_spec.rb
index 0bc61f42ccf,1f40a3b7bc6..af11cbb5801
--- a/spec/features/notifications/notification_center/notification_center_spec.rb
+++ b/spec/features/notifications/notification_center/notification_center_spec.rb
@@@ -99,16 -99,12 +99,16 @@@ RSpec.describe "Notification center", :
center.expect_bell_count 0
end
- context "with more the 100 notifications" do
+ context "with more than 100 notifications" do
let(:notifications) do
- attributes = { recipient:, project: project1, resource: work_package }
- attributes_project2 = { recipient:, project: project2, resource: work_package2 }
+ attributes = { recipient:, resource: work_package }
++ attributes_project2 = { recipient:, resource: work_package2 }
+ # rubocop:disable FactoryBot/ExcessiveCreateList
create_list(:notification, 100, attributes.merge(reason: :mentioned)) +
- create_list(:notification, 105, attributes.merge(reason: :watched))
+ create_list(:notification, 105, attributes.merge(reason: :watched)) +
+ create_list(:notification, 50, attributes_project2.merge(reason: :assigned))
+ # rubocop:enable FactoryBot/ExcessiveCreateList
end
it "can dismiss all notifications of the currently selected filter" do