stable

Clone or download

Read-only

Refacto: \Tuleap\Test\Builders\CrossReferencePresenterBuilder

The builder will help the construction of CrossReferencePresenter in tests whenever we add new properties to the object. It will also help to better understand the meaning of the tests by setting only properties that are relevant for those tests. Part of story #17180 take into account gitlab commits Change-Id: Id6a7eea69ff3619f525350f55471a830e9af0944

Modified Files

Name
M plugins/git/tests/unit/Git/Reference/CrossReferenceGitEnhancerTest.php +7 −73 Go to diff View file
M plugins/git/tests/unit/Git/Reference/CrossReferenceGitOrganizerTest.php +25 −73 Go to diff View file
M plugins/gitlab/tests/unit/Reference/GitlabCrossReferenceOrganizerTest.php +28 −84 Go to diff View file
M plugins/tracker/tests/unit/Tracker/Artifact/CrossReference/CrossReferenceArtifactOrganizerTest.php +18 −60 Go to diff View file
A tests/lib/Builders/CrossReferencePresenterBuilder.php +92 −0 Go to diff View file
M tests/unit/common/Reference/CrossReferenceByNatureOrganizerTest.php +16 −180 Go to diff View file
M tests/unit/common/Reference/CrossReferenceNaturePresenterTest.php +6 −21 Go to diff View file
M tests/unit/common/Reference/CrossReferencePresenterTest.php +5 −48 Go to diff View file
M tests/unit/common/Reference/CrossReferenceSectionPresenterTest.php +3 −24 Go to diff View file