stable
Clone or download
Read-only
At the moment only 'scrum' template is available for test. This commit also change the constraints applied on the REST route. Starting now, any one can use the REST route to create projects. Until now, you had to be "REST Project Manager" to do that. Tests were updated to reflect this change. This commit also bring changes on Trove cat browse limit pseudo const that was converted to an actual const. It was easier to do it this way rather than spending hours to identify the env pollution in phpunit tests. Part of story #8283 Enhance project creation user experience Change-Id: I6b5a294d189a471e22a53d7bee8186b48ba5e888
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/tracker/tests/Tracker/Service/ServiceActivatorTest.php | +54 | −79 | Go to diff View file |
M | src/common/Project/ProjectCreationData.class.php | +18 | −3 | Go to diff View file |
A | src/common/Project/REST/v1/InvalidTemplateException.php | +32 | −0 | Go to diff View file |
A | src/common/Project/REST/v1/ProjectPostRepresentation.php | +62 | −0 | Go to diff View file |
M | src/common/Project/REST/v1/ProjectResource.class.php | +30 | −30 | Go to diff View file |
A | src/common/Project/REST/v1/RestProjectCreator.php | +193 | −0 | Go to diff View file |
M | src/common/trove/TroveCatFactory.php | +1 | −0 | Go to diff View file |
M | src/www/include/trove.php | +0 | −2 | Go to diff View file |
M | src/www/softwaremap/trove_list.php | +2 | −2 | Go to diff View file |
M | tests/integration/tests/ProjectCreationTest.php | +2 | −4 | Go to diff View file |
M | tests/lib/GlobalSVNPollution.php | +0 | −8 | Go to diff View file |
M | tests/phpunit/common/Project/ProjectXMLImporterTest.php | +0 | −12 | Go to diff View file |
A | tests/phpunit/common/Project/REST/v1/RestProjectCreatorTest.php | +172 | −0 | Go to diff View file |
M | tests/rest/tests/ProjectTest.php | +27 | −3 | Go to diff View file |
M | tests/rest/tests/ReadOnlyAdministrator/ProjectTest.php | +3 | −3 | Go to diff View file |