Welcome to mirror list, hosted at ThFree Co, Russian Federation.

test_hook_service.rb « services « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 280c81f7d2dc1b2f8d535629c5198c2b98715afe (plain)
1
2
3
4
5
6
class TestHookService
  def execute(hook, current_user)
    data = Gitlab::DataBuilder::Push.build_sample(hook.project, current_user)
    hook.execute(data, 'push_hooks')
  end
end