stable

Clone or download

Read-only

Move ProjectXMLImporterTest to phpunit

Refacto before implementation and take the opportunity to add some tests on ProjectCreationData. Note: the management of ForgeConfig::get('sys_user_can_choose_project_privacy') in ProjectCreationData::getAccess has been left without tests as it's unclear now how it should have been done if we have thought during the review of be01a87d about the impact on XML import. Part of story #12554 have private projects without restricted members Change-Id: I1bd8fcb0ca5c40f7a00fb332b66026ab50c51e44

Modified Files

Name
A tests/phpunit/common/Project/ProjectCreationDataTest.php +110 −0 Go to diff View file
A tests/phpunit/common/Project/ProjectXMLImporterTest.php +239 −0 Go to diff View file
A tests/phpunit/common/Project/_fixtures/ProjectCreationData/project_with_services.xml +16 −0 Go to diff View file
R tests/simpletest/common/Project/_fixtures/fake_project.xml Go to diff View file
R tests/simpletest/common/Project/_fixtures/fake_project_with_project_members.xml Go to diff View file
R tests/simpletest/common/Project/_fixtures/fake_project_with_ugroups.xml Go to diff View file
D tests/simpletest/common/Project/ProjectXMLImporterTest.php +0 −200 Go to diff View file