stable

Clone or download

Read-only

Factorize current user build in dedicated trait

Part of epic #12142 Baseline v1 Improve maintainability of tests with removing code duplication. Change-Id: Ibf48d681cfd5f7681647480bae274cca25683a7d

Modified Files

Name
M phpunit/Adapter/ArtifactLinkRepositoryTest.php +2 −7 Go to diff View file
M phpunit/Adapter/BaselineArtifactRepositoryAdapterTest.php +2 −14 Go to diff View file
M phpunit/Adapter/BaselineRepositoryAdapterTest.php +2 −11 Go to diff View file
M phpunit/Adapter/SemanticValueAdapterTest.php +3 −14 Go to diff View file
M phpunit/Domain/BaselineArtifactServiceTest.php +2 −11 Go to diff View file
M phpunit/REST/BaselineArtifactControllerTest.php +2 −8 Go to diff View file
M phpunit/REST/BaselineControllerTest.php +6 −12 Go to diff View file
M phpunit/REST/ProjectBaselineControllerTest.php +10 −18 Go to diff View file
A phpunit/Support/CurrentUserContext.php +41 −0 Go to diff View file
M phpunit/bootstrap.php +1 −1 Go to diff View file