Skip to content

Fix wrong usage of Project#name in specs, when Project#path is meant (iteration 2)

What does this MR do and why?

A lot of tests are using Project#name interchangeably with Project#path due to the fact that our factory sets the same value for both attributes by default.

This can make tests brittle and confusing.

This MR fixes the tests were Project#name is used instead of Project#path. A first iteration was done with !118242 (merged).

Then, !113346 (merged) will actually fix the factory to set separate default values for Project#name and Project#path.

MR acceptance checklist

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

Related to #37245 (closed).

Edited by Rémy Coutable

Merge request reports

Loading