Skip to content

Fix a failed test for protected branch cache

Vasilii Iakliushin requested to merge 366724_fix_failed_test into master

What does this MR do and why?

Contributes to #366724 (closed)

Reported in !92937 (comment 1075418794)

Problem

The protected branch cache is not refreshed and causes a spec failure.

Solution

Use service instead of the FactoryBot method.

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 Vasilii Iakliushin

Merge request reports

Loading