Skip to content

Add tests for MRs migration in GitLab Migration

What does this MR do and why?

This MR updates spec/lib/bulk_imports/projects/pipelines/merge_requests_pipeline_spec.rb to add missing tests to MergeRequestsPipeline, which is used to migrate MRs when using GitLab Migration feature.

MR approvals/assignees/reviewers were added to merge requests import as part of #339520 (closed) to Import/Export. The same functionality was added to GitLab Migration. However, the test coverage was missing. This MR adds the missing tests.

Closes #373258 (closed)

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading