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/repository/optimize_test.go')
-rw-r--r--internal/gitaly/service/repository/optimize_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/gitaly/service/repository/optimize_test.go b/internal/gitaly/service/repository/optimize_test.go
index a337e0418..8f0f667f9 100644
--- a/internal/gitaly/service/repository/optimize_test.go
+++ b/internal/gitaly/service/repository/optimize_test.go
@@ -298,7 +298,7 @@ func TestOptimizeRepository_validation(t *testing.T) {
{
desc: "empty repository",
request: &gitalypb.OptimizeRepositoryRequest{},
- expectedErr: helper.ErrInvalidArgumentf(testhelper.GitalyOrPraefectMessage(
+ expectedErr: helper.ErrInvalidArgumentf(testhelper.GitalyOrPraefect(
"empty Repository",
"repo scoped: empty Repository",
)),
@@ -311,7 +311,7 @@ func TestOptimizeRepository_validation(t *testing.T) {
RelativePath: repo.GetRelativePath(),
},
},
- expectedErr: helper.ErrInvalidArgumentf(testhelper.GitalyOrPraefectMessage(
+ expectedErr: helper.ErrInvalidArgumentf(testhelper.GitalyOrPraefect(
`GetStorageByName: no such storage: "non-existent"`,
"repo scoped: invalid Repository"),
),
@@ -324,7 +324,7 @@ func TestOptimizeRepository_validation(t *testing.T) {
RelativePath: "path/not/exist",
},
},
- expectedErr: helper.ErrNotFoundf(testhelper.GitalyOrPraefectMessage(
+ expectedErr: helper.ErrNotFoundf(testhelper.GitalyOrPraefect(
fmt.Sprintf(`GetRepoPath: not a git repository: "%s/path/not/exist"`, cfg.Storages[0].Path),
`routing repository maintenance: getting repository metadata: repository not found`,
)),