stable
Clone or download
Read-only
This a part of story #12447 Modal new document for empty/wiki/link Now the REST route POST /docman_items return an error when an user try to create a wiki page while the wiki service is disabled. How to test : - Make sure the Wiki service is disabled for the project - Go to the API Explorer - Try to create a new Wiki page in the docman An error message is displayed Change-Id: I45bed5f0bdaa57428db844456ca8c9be39d2ae57
Modified Files
Name | ||||
---|---|---|---|---|
M | plugins/docman/include/REST/v1/DocmanItemCreator.php | +8 | −2 | Go to diff View file |
M | plugins/docman/phpunit/REST/v1/DocmanItemCreatorTest.php | +52 | −0 | Go to diff View file |
M | plugins/docman/tests/rest/Docman/DocmanItemsTest.php | +1 | −1 | Go to diff View file |
M | plugins/docman/tests/rest/DocmanDataBuilder.php | +11 | −1 | Go to diff View file |
A | plugins/docman/tests/rest/DocmanDatabaseInitialization.php | +51 | −0 | Go to diff View file |
M | plugins/docman/tests/rest/_fixtures/project/project.xml | +1 | −0 | Go to diff View file |