stable

Clone or download

Read-only

Remove last constants artifact id in tests REST

This is part of request #10040 REST tests do not rely anymore on constants This commit uses the names defined in the XML content. Some can be "strange" ¯\_(ツ)_/¯ But IMHO, some trackers and artifacts must be renamed in a dedicated commit. + Bonus: Git project does not rely on constant anymore Change-Id: Ic8d19297398b07991f809f5af01699bf706aa451

Modified Files

Name
M plugins/git/tests/rest/Git/GerritTest.php +3 −4 Go to diff View file
M plugins/git/tests/rest/Git/ProjectTest.php +4 −5 Go to diff View file
M plugins/git/tests/rest/Git/RepositoryTest.php +3 −3 Go to diff View file
A plugins/git/tests/rest/TestBase.php +34 −0 Go to diff View file
M plugins/git/tests/rest/bootstrap.php +3 −2 Go to diff View file
M tests/lib/TestDataBuilder.php +1 −1 Go to diff View file
M tests/lib/rest/RestBase.php +113 −10 Go to diff View file
M tests/lib/rest/TestDataBuilder.php +4 −16 Go to diff View file
M tests/rest/ArtifactsTest.php +23 −15 Go to diff View file