stable

Clone or download

Read-only

refacto: make CloseArtifactHandler a sociable test

part of story #26802 have smart commit with Tuleap Git No functional change expected. Notes: "sociable" means a unit-test that does not mock all its dependencies. Here, PostPushCommitArtifactUpdater is no longer mocked, but its side-effects are. This will make it easier to move some behaviour (and tests) in CloseArtifactHandler. The goal is to have everything GitLab-related move there. Change-Id: Ida13bed717c696cc74c1bc23a1d98bf6c0e246d5

Modified Files

Name
M plugins/gitlab/tests/unit/Repository/Webhook/PostPush/PostPushWebhookCloseArtifactHandlerTest.php +200 −365 Go to diff View file