stable

Clone or download

Read-only

Git REST tests should leverage XML import

This ease the long term maintenance and decrease the code "special for tests". Remove all project creation code from TestDataBuilder to avoid any further mistake. In a near future, the code will be completly removed for SOAP as well. Part of request #10713 REST test should not depend on Tuleap internal API Change-Id: I949a99a5496709021064c7535fa76eeff522c146

Modified Files

Name
M plugins/git/include/GitXmlImporter.class.php +8 −4 Go to diff View file
M plugins/git/tests/GitXmlImporterTest.php +24 −0 Go to diff View file
D plugins/git/tests/rest/DatabaseInitialization.php +0 −44 Go to diff View file
M plugins/git/tests/rest/GitDataBuilder.php +17 −255 Go to diff View file
M plugins/git/tests/rest/_fixtures/project/project.xml +14 −0 Go to diff View file
M tests/lib/TestDataBuilder.php +5 −158 Go to diff View file
M tests/lib/rest/RequestWrapper.php +14 −2 Go to diff View file
M tests/lib/soap/TestDataBuilder.php +152 −0 Go to diff View file
M tests/rest/bin/setup.sh +2 −1 Go to diff View file