stable

Clone or download

Read-only

Refactoring rest test wiki section

part of story #13463 Split PATCH docman_items_type/id route This is the same refactoring that the one done for file (gerrit 15175) PATCH test needs a large amount of wiki to test that version creation properly works POST docman_item/id/version will be a duplication of a part of it, before being removed => We'll need to create many wikis in order to have the same test cover Change-Id: Idc1d8ba9d972d1567f73fc8f8503408ed1081b07

Modified Files

Name
M plugins/docman/tests/rest/Docman/DocmanWikiTest.php +125 −190 Go to diff View file
M plugins/docman/tests/rest/DocmanDataBuilder.php +12 −117 Go to diff View file
A plugins/docman/tests/rest/Helper/DocmanWikiDataBuild.php +224 −0 Go to diff View file