diff options
-rw-r--r-- | internal/service/commit/list_commits_by_oid_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/service/commit/list_commits_by_oid_test.go b/internal/service/commit/list_commits_by_oid_test.go index 70cb3e2a9..5be4ea9a0 100644 --- a/internal/service/commit/list_commits_by_oid_test.go +++ b/internal/service/commit/list_commits_by_oid_test.go @@ -5,6 +5,7 @@ import ( "testing" pb "gitlab.com/gitlab-org/gitaly-proto/go" + "gitlab.com/gitlab-org/gitaly/internal/testhelper" "github.com/stretchr/testify/require" "golang.org/x/net/context" @@ -17,6 +18,9 @@ func TestSuccessfulListCommitsByOidRequest(t *testing.T) { client, conn := newCommitServiceClient(t, serverSocketPath) defer conn.Close() + testRepo, _, cleanupFn := testhelper.NewTestRepo(t) + defer cleanupFn() + commits := []*pb.GitCommit{ { Id: "bf6e164cac2dc32b1f391ca4290badcbe4ffc5fb", |