stable
Clone or download
Read-only
This is part of story #21386: dry run REST project creation Trove categories checks are now taken into account in REST dry/run checks. Nothing is done for XML (as before). A technical refactoring was needed to have this feature working. Change-Id: If87a7839483bab442d3b06172147f0f35b4dbfc1
Modified Files
Name | ||||
---|---|---|---|---|
M | site-content/fr_FR/LC_MESSAGES/tuleap-core.po | +16 | −0 | Go to diff View file |
M | src/common/Project/Admin/Categories/CategoryCollection.php | +15 | −0 | Go to diff View file |
A | src/common/Project/Admin/Categories/CategoryCollectionConsistencyChecker.php | +135 | −0 | Go to diff View file |
M | src/common/Project/Admin/Categories/InvalidValueForRootCategoryException.php | +28 | −0 | Go to diff View file |
M | src/common/Project/Admin/Categories/MissingMandatoryCategoriesException.php | +20 | −0 | Go to diff View file |
M | src/common/Project/Admin/Categories/NbMaxValuesException.php | +24 | −0 | Go to diff View file |
M | src/common/Project/Admin/Categories/NotRootCategoryException.php | +20 | −0 | Go to diff View file |
M | src/common/Project/Admin/Categories/ProjectCategoriesException.php | +3 | −2 | Go to diff View file |
M | src/common/Project/Admin/Categories/ProjectCategoriesUpdater.php | +18 | −115 | Go to diff View file |
M | src/common/Project/Admin/Categories/UpdateController.php | +4 | −1 | Go to diff View file |
M | src/common/Project/ProjectCreationData.class.php | +13 | −4 | Go to diff View file |
M | src/common/Project/ProjectCreator.class.php | +23 | −16 | Go to diff View file |
M | src/common/Project/REST/v1/ProjectCreationDataPOSTProjectBuilder.php | +5 | −0 | Go to diff View file |
M | src/common/Project/REST/v1/ProjectResource.class.php | +7 | −10 | Go to diff View file |
M | src/common/Project/REST/v1/RestProjectCreator.php | +0 | −25 | Go to diff View file |
M | src/common/Project/Registration/ProjectRegistrationRESTChecker.php | +17 | −3 | Go to diff View file |
M | tests/rest/tests/ProjectTest.php | +35 | −0 | Go to diff View file |
A | tests/unit/common/Project/Admin/Categories/CategoryCollectionConsistencyCheckerTest.php | +174 | −0 | Go to diff View file |
M | tests/unit/common/Project/Admin/Categories/ProjectCategoriesUpdaterTest.php | +39 | −85 | Go to diff View file |
M | tests/unit/common/Project/ProjectCreatorTest.php | +9 | −2 | Go to diff View file |
M | tests/unit/common/Project/ProjectXMLImporterTest.php | +2 | −0 | Go to diff View file |
M | tests/unit/common/Project/REST/v1/RestProjectCreatorTest.php | +3 | −100 | Go to diff View file |
M | tests/unit/common/Project/Registration/ProjectRegistrationRESTCheckerTest.php | +52 | −1 | Go to diff View file |