Skip to content

Add specs for ApprovalProjectRule creation

What does this MR do and why?

During the validation of issue #397057 (closed), we realized that approval project rules for the new states added in MR !117394 were not being created.

The error happened because this validation prevented project rules with the states from being created.

The MR !120019 (merged) added the new states to ApprovalProjectRule vulnerability_states validation, and this MR adds specs to verify the new statuses can be used to create new ApprovalProjectRule as suggested here.

Related to #397057 (closed)

MR acceptance checklist

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

Edited by Marcos Rocha

Merge request reports

Loading