6 lines
179 B
Ruby
6 lines
179 B
Ruby
class TestHookService
|
|
def execute(hook, current_user)
|
|
data = Gitlab::PushDataBuilder.build_sample(hook.project, current_user)
|
|
hook.execute(data, 'push_hooks')
|
|
end
|
|
end
|