diff options
Diffstat (limited to 'internal/git/log/commit_test.go')
-rw-r--r-- | internal/git/log/commit_test.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/git/log/commit_test.go b/internal/git/log/commit_test.go index 4fcf0777b..470ddfb5a 100644 --- a/internal/git/log/commit_test.go +++ b/internal/git/log/commit_test.go @@ -8,7 +8,6 @@ import ( "github.com/golang/protobuf/ptypes/timestamp" "github.com/stretchr/testify/require" "gitlab.com/gitlab-org/gitaly/internal/git/catfile" - "gitlab.com/gitlab-org/gitaly/internal/gitaly/config" "gitlab.com/gitlab-org/gitaly/internal/testhelper" "gitlab.com/gitlab-org/gitaly/proto/go/gitalypb" "google.golang.org/grpc/metadata" @@ -151,7 +150,7 @@ func TestGetCommitCatfile(t *testing.T) { }, } - c, err := catfile.New(ctx, config.NewLocator(config.Config), testRepo) + c, err := catfile.New(ctx, testRepo) require.NoError(t, err) for _, tc := range testCases { t.Run(tc.desc, func(t *testing.T) { |