diff options
Diffstat (limited to 'internal/command/receivepack/gitalycall_test.go')
-rw-r--r-- | internal/command/receivepack/gitalycall_test.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/command/receivepack/gitalycall_test.go b/internal/command/receivepack/gitalycall_test.go index 4665366..cab2d80 100644 --- a/internal/command/receivepack/gitalycall_test.go +++ b/internal/command/receivepack/gitalycall_test.go @@ -57,8 +57,10 @@ func TestReceivePack(t *testing.T) { args.GitlabKeyId = tc.keyId } + cfg := &config.Config{GitlabUrl: url} + cfg.GitalyClient.InitSidechannelRegistry(context.Background()) cmd := &Command{ - Config: &config.Config{GitlabUrl: url}, + Config: cfg, Args: args, ReadWriter: &readwriter.ReadWriter{ErrOut: output, Out: output, In: input}, } |