Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'internal/gitaly/service/ref/list_new_blobs_test.go')
-rw-r--r--internal/gitaly/service/ref/list_new_blobs_test.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/internal/gitaly/service/ref/list_new_blobs_test.go b/internal/gitaly/service/ref/list_new_blobs_test.go
index 8093ee9da..3dc6d7c27 100644
--- a/internal/gitaly/service/ref/list_new_blobs_test.go
+++ b/internal/gitaly/service/ref/list_new_blobs_test.go
@@ -5,6 +5,7 @@ import (
"testing"
"github.com/stretchr/testify/require"
+ "gitlab.com/gitlab-org/gitaly/internal/git/gittest"
"gitlab.com/gitlab-org/gitaly/internal/testhelper"
"gitlab.com/gitlab-org/gitaly/proto/go/gitalypb"
"google.golang.org/grpc/codes"
@@ -15,10 +16,10 @@ func TestListNewBlobs(t *testing.T) {
ctx, cancel := testhelper.Context()
defer cancel()
- _, repo, repoPath, client := setupRefService(t)
+ cfg, repo, repoPath, client := setupRefService(t)
oid := "ab2c9622c02288a2bbaaf35d96088cfdff31d9d9"
- testhelper.MustRunCommand(t, nil, "git", "-C", repoPath, "branch", "-D", "gitaly-diff-stuff")
+ gittest.Exec(t, cfg, "-C", repoPath, "branch", "-D", "gitaly-diff-stuff")
testCases := []struct {
revision string