summaryrefslogtreecommitdiff
path: root/app/services/test_hook_service.rb
blob: e85e58751e781ced2603aa0ea0310531b861d76b (plain)
1
2
3
4
5
6
class TestHookService
  def execute(hook, current_user)
    data = Gitlab::PushDataBuilder.build_sample(hook.project, current_user)
    hook.execute(data, 'push_hooks')
  end
end