stable

Clone or download

Read-only

Transform GitXmlImporterTest in a PHPUnit integration test

This test is transformed into a integration test instead of a unit test because it needs access to some files deployed by the gitolite RPM. The DB/Integration tests are now executed in an environnement that is closer to production since the tests are now run as the codendiadm user instead of a generic user. One change to the production code has been introduced so it can work without a privileged user. This is part of request #14150: Get rid of SimpleTest Change-Id: I397b0708ca3136ec86f68c9ec19ae310a71ec8a2

Modified Files

Name
D plugins/git/bin/gl-delete-test-repository.sh +0 −17 Go to diff View file
M plugins/git/include/GitRepositoryManager.class.php +1 −1 Go to diff View file
R plugins/git/tests/GitXmlImporterTest.php Go to diff View file
R plugins/git/tests/_fixtures/stable_repo_one_commit.bundle Binary file Go to diff View file
M tests/integration/bin/run.sh +4 −16 Go to diff View file
M tests/integration/bin/setup.sh +1 −1 Go to diff View file