Skip to content

Test deletion of member branch protection cascadingly

What does this MR do and why?

Turns out ee/app/models/ee/project_member.rb before_destroy :delete_member_branch_protection was not tested.

I already wrote the code for another MR but it was kind of out place the more I worked on the other MR. So here we go.

Merge request reports

Loading