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/smarthttp/receive_pack_test.go')
-rw-r--r--internal/gitaly/service/smarthttp/receive_pack_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/gitaly/service/smarthttp/receive_pack_test.go b/internal/gitaly/service/smarthttp/receive_pack_test.go
index 5059e4c7c..d7b066969 100644
--- a/internal/gitaly/service/smarthttp/receive_pack_test.go
+++ b/internal/gitaly/service/smarthttp/receive_pack_test.go
@@ -378,7 +378,7 @@ func TestPostReceivePack_requestValidation(t *testing.T) {
},
GlId: "user-123",
},
- expectedErr: status.Error(codes.InvalidArgument, testhelper.GitalyOrPraefectMessage(
+ expectedErr: status.Error(codes.InvalidArgument, testhelper.GitalyOrPraefect(
`GetStorageByName: no such storage: "fake"`,
"repo scoped: invalid Repository",
)),
@@ -386,7 +386,7 @@ func TestPostReceivePack_requestValidation(t *testing.T) {
{
desc: "Repository is nil",
request: &gitalypb.PostReceivePackRequest{Repository: nil, GlId: "user-123"},
- expectedErr: status.Error(codes.InvalidArgument, testhelper.GitalyOrPraefectMessage(
+ expectedErr: status.Error(codes.InvalidArgument, testhelper.GitalyOrPraefect(
"empty Repository",
"repo scoped: empty Repository",
)),