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:
authorPatrick Steinhardt <psteinhardt@gitlab.com>2023-03-01 10:31:52 +0300
committerPatrick Steinhardt <psteinhardt@gitlab.com>2023-03-01 10:31:52 +0300
commit74c8dd13faece32f6cc50ca3e586273192b7b8ed (patch)
tree3a9cfa4f7d37225c8edf3c76ec73f054a2ef6619 /internal/gitaly/service/operations/submodules_test.go
parent2d323da995f6375ae33db128d641c8625db79d02 (diff)
Revert "Merge branch 'jc-submodule-in-git' into 'master'"
This reverts merge request !5046
Diffstat (limited to 'internal/gitaly/service/operations/submodules_test.go')
-rw-r--r--internal/gitaly/service/operations/submodules_test.go8
1 files changed, 1 insertions, 7 deletions
diff --git a/internal/gitaly/service/operations/submodules_test.go b/internal/gitaly/service/operations/submodules_test.go
index ffe2db4b3..02f35d8c9 100644
--- a/internal/gitaly/service/operations/submodules_test.go
+++ b/internal/gitaly/service/operations/submodules_test.go
@@ -4,7 +4,6 @@ package operations
import (
"bytes"
- "context"
"fmt"
"path/filepath"
"testing"
@@ -15,7 +14,6 @@ import (
"gitlab.com/gitlab-org/gitaly/v15/internal/git/localrepo"
"gitlab.com/gitlab-org/gitaly/v15/internal/git/lstree"
"gitlab.com/gitlab-org/gitaly/v15/internal/helper/text"
- "gitlab.com/gitlab-org/gitaly/v15/internal/metadata/featureflag"
"gitlab.com/gitlab-org/gitaly/v15/internal/structerr"
"gitlab.com/gitlab-org/gitaly/v15/internal/testhelper"
"gitlab.com/gitlab-org/gitaly/v15/proto/go/gitalypb"
@@ -24,11 +22,7 @@ import (
func TestUserUpdateSubmodule(t *testing.T) {
t.Parallel()
- testhelper.NewFeatureSets(featureflag.SubmoduleInGit).
- Run(t, testUserUpdateSubmodule)
-}
-
-func testUserUpdateSubmodule(t *testing.T, ctx context.Context) {
+ ctx := testhelper.Context(t)
ctx, cfg, client := setupOperationsServiceWithoutRepo(t, ctx)
type setupData struct {