diff options
Diffstat (limited to 'internal/git/hooks_payload_test.go')
-rw-r--r-- | internal/git/hooks_payload_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/git/hooks_payload_test.go b/internal/git/hooks_payload_test.go index 1c40b5a4d..c1e97e380 100644 --- a/internal/git/hooks_payload_test.go +++ b/internal/git/hooks_payload_test.go @@ -40,6 +40,7 @@ func TestHooksPayload(t *testing.T) { require.Equal(t, git.HooksPayload{ Repo: repo, + RuntimeDir: cfg.RuntimeDir, InternalSocket: cfg.GitalyInternalSocketPath(), RequestedHooks: git.PreReceiveHook, FeatureFlags: featureflag.Raw{"flag-key": "flag-value"}, @@ -55,6 +56,7 @@ func TestHooksPayload(t *testing.T) { require.Equal(t, git.HooksPayload{ Repo: repo, + RuntimeDir: cfg.RuntimeDir, InternalSocket: cfg.GitalyInternalSocketPath(), Transaction: &tx, RequestedHooks: git.UpdateHook, @@ -90,6 +92,7 @@ func TestHooksPayload(t *testing.T) { require.Equal(t, git.HooksPayload{ Repo: repo, + RuntimeDir: cfg.RuntimeDir, InternalSocket: cfg.GitalyInternalSocketPath(), InternalSocketToken: cfg.Auth.Token, ReceiveHooksPayload: &git.ReceiveHooksPayload{ |