stable

Clone or download

Read-only

Refactoring rest test embedded 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 file 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 files in order to have the same test cover In addition bootstrap have been removed Autoload is done by composer (dev) Namespaces are accurate with file location Change-Id: I252574610f422cca0f030d3ecf226108ccd170a5

Modified Files

Name
M plugins/docman/composer.json +6 −1 Go to diff View file
R plugins/docman/tests/rest/Docman/DocmanItemsTestFilesEmbeddedTest.php Go to diff View file
R plugins/docman/tests/rest/Docman/DocmanItemsTestEmptyDocumentsTest.php Go to diff View file
R plugins/docman/tests/rest/Docman/DocmanItemsTestFilesTest.php Go to diff View file
R plugins/docman/tests/rest/Docman/DocmanItemsTestFoldersTest.php Go to diff View file
M plugins/docman/tests/rest/Docman/DocmanItemsTest.php +8 −6 Go to diff View file
R plugins/docman/tests/rest/Docman/DocmanItemsTestLinksTest.php Go to diff View file
R plugins/docman/tests/rest/Docman/DocmanItemsTestWikiTest.php Go to diff View file
M plugins/docman/tests/rest/DocmanBase.php +4 −2 Go to diff View file
M plugins/docman/tests/rest/DocmanDataBuilder.php +14 −173 Go to diff View file
M plugins/docman/tests/rest/DocmanDatabaseInitialization.php +2 −2 Go to diff View file
R plugins/docman/tests/rest/docmanWithActivatedMetadata/DocmanHardcodedMetadataTest.php Go to diff View file
M plugins/docman/tests/rest/DocmanWithMetadataActivatedBase.php +3 −1 Go to diff View file
M plugins/docman/tests/rest/DocmanWithMetadataActivatedDataBuilder.php +2 −5 Go to diff View file
R plugins/docman/tests/rest/helper/DocmanDataBuildCommon.php Go to diff View file
A plugins/docman/tests/rest/Helper/DocmanEmbeddedDataBuild.php +229 −0 Go to diff View file
R plugins/docman/tests/rest/helper/DocmanFileDataBuild.php Go to diff View file
R plugins/docman/tests/rest/helper/DocmanTestExecutionHelper.php Go to diff View file
D plugins/docman/tests/rest/bootstrap.php +0 −28 Go to diff View file
M plugins/docman/tests/rest/init_test_data.php +3 −5 Go to diff View file