stable

Clone or download

Read-only

refactor: move interfaces to DAO

Part of story #26799 associate a Tuleap project and a GitLab group No functional change expected. Moving the interfaces down to the DAO lets us unit-test GitlabGroupFactory. We will need to add another check in it, in another contribution. Change-Id: I59b80bd1d79741ac62362ef082b3deba806e9fef

Modified Files

Name
R plugins/gitlab/include/Group/BuildGitlabGroup.php Go to diff View file
M plugins/gitlab/include/Group/GitlabGroupDAO.php +6 −5 Go to diff View file
M plugins/gitlab/include/Group/GitlabGroupFactory.php +7 −5 Go to diff View file
A plugins/gitlab/include/Group/VerifyGroupIsAlreadyLinked.php +26 −0 Go to diff View file
M plugins/gitlab/include/REST/v1/GitlabGroupResource.php +2 −1 Go to diff View file
M plugins/gitlab/include/Repository/GitlabRepositoryGroupLinkHandler.php +2 −2 Go to diff View file
A plugins/gitlab/tests/unit/Group/GitlabGroupFactoryTest.php +78 −0 Go to diff View file
M plugins/gitlab/tests/unit/Group/GitlabRepositoryGroupLinkHandlerTest.php +6 −2 Go to diff View file
M plugins/gitlab/tests/unit/Group/NewGroupTest.php +1 −1 Go to diff View file
R plugins/gitlab/tests/unit/Test/Stubs/BuildGitlabGroupStub.php Go to diff View file
A plugins/gitlab/tests/unit/Test/Stubs/VerifyGroupIsAlreadyLinkedStub.php +45 −0 Go to diff View file