Skip to content

Move stub_licensed_features up, replace allow

Thong Kuah requested to merge use_stub_licensed_features_for_spec into master

What does this MR do?

As creation of PathLock in project.path_locks.create, triggers a memoization of Project#licensed_feature_available?, call stub_licensed_features first before all else.

What are the relevant issue numbers?

https://gitlab.com/gitlab-org/gitlab-ee/issues/10385

Does this MR meet the acceptance criteria?

Merge request reports