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/12.4' into dev

Oliver Günther863ffe3341a0
diff --cc spec/services/groups/update_roles_service_integration_spec.rb
index 823a0d56547,9f8b820c342..7cf84788191
--- a/spec/services/groups/update_roles_service_integration_spec.rb
+++ b/spec/services/groups/update_roles_service_integration_spec.rb
@@@ -44,9 -44,9 +44,9 @@@ describe Groups::UpdateRolesService, 'i
principal: group,
roles:)
- ::Groups::CreateInheritedRolesService
+ Groups::CreateInheritedRolesService
.new(group, current_user: User.system, contract_class: EmptyContract)
- .call(user_ids: users.map(&:id))
+ .call(user_ids: users.map(&:id), send_notifications: false)
end
end
let(:users) { create_list :user, 2 }
@@@ -371,9 -429,9 +429,9 @@@
principal: group,
roles: [other_role])
- ::Groups::CreateInheritedRolesService
+ Groups::CreateInheritedRolesService
.new(group, current_user: User.system, contract_class: EmptyContract)
- .call(user_ids: users.map(&:id))
+ .call(user_ids: users.map(&:id), send_notifications: false)
end
end