2014-09-02 18:07:02 +05:30
|
|
|
class TestHookService
|
|
|
|
def execute(hook, current_user)
|
2016-09-13 17:45:13 +05:30
|
|
|
data = Gitlab::DataBuilder::Push.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
|