diff --git a/app/controllers/hooks_controller.rb b/app/controllers/hooks_controller.rb
index 7c5f7631f4e02bcf86d59b463c40ad085478023f..72da6f98947b8d9f627c65ae807ef4c0f28e5a51 100644
--- a/app/controllers/hooks_controller.rb
+++ b/app/controllers/hooks_controller.rb
@@ -32,7 +32,7 @@ class HooksController < ApplicationController
   def test
     @hook = @project.web_hooks.find(params[:id])
     commits = @project.commits(@project.default_branch, nil, 3)
-    data = @project.web_hook_data(commits.last.id, commits.first.id, "refs/heads/#{@project.default_branch}")
+    data = @project.web_hook_data(commits.last.id, commits.first.id, "refs/heads/#{@project.default_branch}", current_user.keys.first.identifier)
     @hook.execute(data)
 
     redirect_to :back