Fix notes email with group-level notification email
What does this MR do?
When we introduced group-level notification emails, there was a bug in how we routed comment emails: Noteable
s do not have a group directly (unless they are Epic
s) - they are on a project which may have a group.
Fixing this was pretty small, but did involve more spec changes than I'd have liked.
Does this MR meet the acceptance criteria?
Conformity
Performance and testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/63355.