2014-01-15 12:38:50 +00:00
|
|
|
class TestHookService
|
|
|
|
def execute(hook, current_user)
|
2016-08-12 08:09:29 +00:00
|
|
|
data = Gitlab::DataBuilder::Push.build_sample(hook.project, current_user)
|
2015-01-24 00:10:43 +00:00
|
|
|
hook.execute(data, 'push_hooks')
|
2014-01-15 12:38:50 +00:00
|
|
|
end
|
|
|
|
end
|