stable

Clone or download

Read-only

refactor: use a dedicated object instead of string

part of story #26802 have smart commit with Tuleap Git No functional change expected in GitLab artifact closure. This will help us move this part of code to Git plugin, where the username is the one who pushed the branch. Change-Id: I55df34fd6397f313d63b53a28465adca6c93d894

Modified Files

Name
M plugins/gitlab/include/Repository/Webhook/PostPush/PostPushCommitArtifactUpdater.php +9 −9 Go to diff View file
A plugins/gitlab/include/Repository/Webhook/PostPush/UserClosingTheArtifact.php +45 −0 Go to diff View file
M plugins/gitlab/tests/unit/Repository/Webhook/PostPush/PostPushCommitArtifactUpdaterTest.php +173 −478 Go to diff View file
A plugins/gitlab/tests/unit/Repository/Webhook/PostPush/UserClosingTheArtifactTest.php +48 −0 Go to diff View file