stable

Clone or download

Read-only

refacto: DRY of the GitlabGroupLinkRepositoryHandler::integrateOneProject function

Part of story #26799 associate a Tuleap project and a GitLab group This function has been previously duplicated in a dedicated object (GitlabProjectIntegrator) since 3510b646521b1f02b8324f9655dd2cbfd50aaa9c, there is no need of this private method anymore. No functionnal change expected, you should still be able to create new group link, create (if needed) the missing integration and link each integrations (already existing or not) Change-Id: I1e6a826245e54a6131b3a03dce8303aefd17f05f

Modified Files

Name
M plugins/gitlab/include/Group/GroupCreator.php +6 −1 Go to diff View file
M plugins/gitlab/include/REST/v1/GitlabGroupResource.php +71 −60 Go to diff View file
M plugins/gitlab/include/Repository/GitlabRepositoryGroupLinkHandler.php +17 −61 Go to diff View file
M plugins/gitlab/tests/unit/Group/GitlabRepositoryGroupLinkHandlerTest.php +17 −50 Go to diff View file
M plugins/gitlab/tests/unit/Group/GroupCreatorTest.php +15 −29 Go to diff View file
M plugins/gitlab/tests/unit/Repository/GitlabProjectIntegratorTest.php +24 −8 Go to diff View file