summaryrefslogtreecommitdiff
path: root/app/services/test_hook_service.rb
blob: 21ec2c01cb86a43c6223a41f95bf87c540a713aa (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)
  end
end