stable
Clone or download
Read-only
part of story #8283 Enhance project creation user experience How to test: have a flag enable_not_mandatory_description in local.inc Given flag is set to 1 in local.inc Then description is no longer mandatory at project update Given flag is set to 0 or is not present in local.inc Then description is mandatory at project update Please note that flag is only for dev purpose, in order to don't have a big mono review, I introduce this flag. Once project update and project creation will be able to manage non required description I'll add the corresponding action in site administration section. Change-Id: Ifb0c5fa23e6690e8214f94a23d8f692633ed5ecd
Modified Files
Name | ||||
---|---|---|---|---|
M | src/common/Project/Admin/ProjectDetails/ProjectDetailsController.php | +14 | −2 | Go to diff View file |
M | src/common/Project/Admin/ProjectDetails/ProjectDetailsPresenter.php | +8 | −1 | Go to diff View file |
M | src/templates/project/project-details.mustache | +3 | −2 | Go to diff View file |
A | tests/phpunit/common/Project/ProjectDetails/ProjectDetailsControllerTest.php | +229 | −0 | Go to diff View file |