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