2014-09-02 18:07:02 +05:30
|
|
|
class TestHookService
|
|
|
|
def execute(hook, current_user)
|
2015-04-26 12:48:37 +05:30
|
|
|
data = Gitlab::PushDataBuilder.build_sample(hook.project, current_user)
|
2015-09-11 14:41:01 +05:30
|
|
|
hook.execute(data, 'push_hooks')
|
2014-09-02 18:07:02 +05:30
|
|
|
end
|
|
|
|
end
|